Copyright (C) 2000-2012 |
Manpages SDL_MixAudioSection: SDL API Reference (3)Updated: Tue 11 Sep 2001, 22:58 Index Return to Main Contents NAMESDL_MixAudio- Mix audio dataSYNOPSIS#include "SDL.h" void SDL_MixAudio(Uint8 *dst, Uint8 *src, Uint32 len, int volume); DESCRIPTIONThis 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 ALSOSDL_OpenAudio
IndexThis document was created by man2html, using the manual pages. Time: 15:07:26 GMT, April 19, 2024 |