Mercurial > sdl-ios-xcode
diff src/audio/windx5/SDL_dx5audio.h @ 1877:9b02a5b97f79
Fixed bug #69
Hopefully this takes care of most of the audio dropouts in Windows
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Fri, 23 Jun 2006 08:15:47 +0000 |
parents | d910939febfa |
children | c121d94672cb a1b03ba2fcd0 |
line wrap: on
line diff
--- a/src/audio/windx5/SDL_dx5audio.h Fri Jun 23 04:27:55 2006 +0000 +++ b/src/audio/windx5/SDL_dx5audio.h Fri Jun 23 08:15:47 2006 +0000 @@ -37,7 +37,7 @@ LPDIRECTSOUNDBUFFER mixbuf; int NUM_BUFFERS; int mixlen, silence; - DWORD playing; + DWORD lastchunk; Uint8 *locked_buf; HANDLE audio_event; }; @@ -48,7 +48,7 @@ #define NUM_BUFFERS (this->hidden->NUM_BUFFERS) #define mixlen (this->hidden->mixlen) #define silence (this->hidden->silence) -#define playing (this->hidden->playing) +#define lastchunk (this->hidden->lastchunk) #define locked_buf (this->hidden->locked_buf) #define audio_event (this->hidden->audio_event)