Mercurial > sdl-ios-xcode
comparison include/SDL_audio.h @ 1:cf2af46e9e2a
Changes since SDL 1.2.0 release
author | Sam Lantinga <slouken@lokigames.com> |
---|---|
date | Thu, 26 Apr 2001 16:50:19 +0000 |
parents | 74212992fb08 |
children | 901e45fd0432 |
comparison
equal
deleted
inserted
replaced
0:74212992fb08 | 1:cf2af46e9e2a |
---|---|
232 * The volume ranges from 0 - 128, and should be set to SDL_MIX_MAXVOLUME | 232 * The volume ranges from 0 - 128, and should be set to SDL_MIX_MAXVOLUME |
233 * for full audio volume. Note this does not change hardware volume. | 233 * for full audio volume. Note this does not change hardware volume. |
234 * This is provided for convenience -- you can mix your own audio data. | 234 * This is provided for convenience -- you can mix your own audio data. |
235 */ | 235 */ |
236 #define SDL_MIX_MAXVOLUME 128 | 236 #define SDL_MIX_MAXVOLUME 128 |
237 extern DECLSPEC void SDL_MixAudio(Uint8 *dst, Uint8 *src, Uint32 len, int volume); | 237 extern DECLSPEC void SDL_MixAudio(Uint8 *dst, const Uint8 *src, Uint32 len, int volume); |
238 | 238 |
239 /* | 239 /* |
240 * The lock manipulated by these functions protects the callback function. | 240 * The lock manipulated by these functions protects the callback function. |
241 * During a LockAudio/UnlockAudio pair, you can be guaranteed that the | 241 * During a LockAudio/UnlockAudio pair, you can be guaranteed that the |
242 * callback function is not running. Do not call these from the callback | 242 * callback function is not running. Do not call these from the callback |