Mercurial > sdl-ios-xcode
diff src/audio/SDL_mixer.c @ 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 | e8157fcb3114 |
line wrap: on
line diff
--- a/src/audio/SDL_mixer.c Thu Apr 26 16:45:43 2001 +0000 +++ b/src/audio/SDL_mixer.c Thu Apr 26 16:50:19 2001 +0000 @@ -96,7 +96,7 @@ #define ADJUST_VOLUME(s, v) (s = (s*v)/SDL_MIX_MAXVOLUME) #define ADJUST_VOLUME_U8(s, v) (s = (((s-128)*v)/SDL_MIX_MAXVOLUME)+128) -void SDL_MixAudio (Uint8 *dst, Uint8 *src, Uint32 len, int volume) +void SDL_MixAudio (Uint8 *dst, const Uint8 *src, Uint32 len, int volume) { Uint16 format;