tBasic Windows Multimedia system sound support added. - vaccinewars - be a doct… | |
git clone git://src.adamsgaard.dk/vaccinewars | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit 7cee821f757c3ac4456831bcfbb2c44313551b26 | |
parent 61b1f3b83f398db152a5a02110cd21da65b5297f | |
Author: Ben Webb <[email protected]> | |
Date: Sat, 4 May 2002 17:55:35 +0000 | |
Basic Windows Multimedia system sound support added. | |
Diffstat: | |
M src/sound.c | 4 ++++ | |
1 file changed, 4 insertions(+), 0 deletions(-) | |
--- | |
diff --git a/src/sound.c b/src/sound.c | |
t@@ -25,6 +25,7 @@ | |
#endif | |
#include "sound_esd.h" | |
+#include "sound_winmm.h" | |
static SoundDriver *driver = NULL; | |
t@@ -33,6 +34,9 @@ void SoundInit(void) | |
#ifdef HAVE_ESD | |
driver = SoundInit_ESD(); | |
#endif | |
+#ifdef HAVE_WINMM | |
+ driver = SoundInit_WinMM(); | |
+#endif | |
} | |
void SoundOpen(gchar *drivername) |