diff src/audio/windx5/SDL_dx5audio.h @ 1701:442248d4e738 SDL-1.3

Merged DirectSound dropout fix from SDL 1.2
author Sam Lantinga <slouken@libsdl.org>
date Fri, 23 Jun 2006 08:48:24 +0000
parents 782fd950bd46
children
line wrap: on
line diff
--- a/src/audio/windx5/SDL_dx5audio.h	Fri Jun 23 08:40:46 2006 +0000
+++ b/src/audio/windx5/SDL_dx5audio.h	Fri Jun 23 08:48:24 2006 +0000
@@ -38,7 +38,7 @@
     LPDIRECTSOUNDBUFFER mixbuf;
     int NUM_BUFFERS;
     int mixlen, silence;
-    DWORD playing;
+    DWORD lastchunk;
     Uint8 *locked_buf;
     HANDLE audio_event;
 };
@@ -49,9 +49,10 @@
 #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)
 
 #endif /* _SDL_lowaudio_h */
+
 /* vi: set ts=4 sw=4 expandtab: */