diff src/audio/windx5/SDL_dx5audio.h @ 3842:6b04ca2f1016 SDL-ryan-multiple-audio-device

Moved DirectSound audio target to SDL 1.3 API and did some house cleaning.
author Ryan C. Gordon <icculus@icculus.org>
date Tue, 17 Oct 2006 06:37:42 +0000
parents efdfe292bd88
children
line wrap: on
line diff
--- a/src/audio/windx5/SDL_dx5audio.h	Sun Oct 08 23:04:24 2006 +0000
+++ b/src/audio/windx5/SDL_dx5audio.h	Tue Oct 17 06:37:42 2006 +0000
@@ -36,23 +36,12 @@
 {
     LPDIRECTSOUND sound;
     LPDIRECTSOUNDBUFFER mixbuf;
-    int NUM_BUFFERS;
-    int mixlen, silence;
+    int num_buffers;
+    int mixlen;
     DWORD lastchunk;
     Uint8 *locked_buf;
-    HANDLE audio_event;
 };
 
-/* Old variable names */
-#define sound			(this->hidden->sound)
-#define mixbuf			(this->hidden->mixbuf)
-#define NUM_BUFFERS		(this->hidden->NUM_BUFFERS)
-#define mixlen			(this->hidden->mixlen)
-#define silence			(this->hidden->silence)
-#define lastchunk		(this->hidden->lastchunk)
-#define locked_buf		(this->hidden->locked_buf)
-#define audio_event		(this->hidden->audio_event)
-
 #endif /* _SDL_dx5audio_h */
 
 /* vi: set ts=4 sw=4 expandtab: */