|
|
| version 1.10, 2007/01/23 15:48:20 | version 1.11, 2008/03/18 15:40:20 |
|---|---|
| Line 970 sdlaudio_callback(void *userdata, unsign | Line 970 sdlaudio_callback(void *userdata, unsign |
| sound_nextbuf = (sound_nextbuf + 1) % NSOUNDBUFFER; | sound_nextbuf = (sound_nextbuf + 1) % NSOUNDBUFFER; |
| sound_event = sound_buffer[sound_nextbuf]; | sound_event = sound_buffer[sound_nextbuf]; |
| SDL_MixAudio(stream, sound_buffer[nextbuf], samples, | SDL_MixAudio(stream, (const void *)sound_buffer[nextbuf], samples, |
| SDL_MIX_MAXVOLUME); | SDL_MIX_MAXVOLUME); |
| } | } |