SDL_MixAudio

Name

SDL_MixAudio -- Mix audio data

Synopsis

uses
SDL;

procedure SDL_MixAudio( dst, src : PUInt8; len : UInt32; volume : Integer );

Description

This function takes two audio buffers of len bytes each of the playing audio format and mixes them, performing addition, volume adjustment, and overflow clipping. The volume ranges from 0 to SDL_MIX_MAXVOLUME and should be set to the maximum value for full audio volume. Note this does not change hardware volume. This is provided for convenience -- you can mix your own audio data.

See Also

SDL_OpenAudio