tNow fully functional ESD sound support; sound files can be configured via. con… | |
git clone git://src.adamsgaard.dk/vaccinewars | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit 928060cf83f46a895f7059191f6042a24778b4b8 | |
parent 78cb669665c3bc332d64515a6fde236f81686eb4 | |
Author: Ben Webb <[email protected]> | |
Date: Sat, 4 May 2002 17:56:50 +0000 | |
Now fully functional ESD sound support; sound files can be configured via. | |
configuration files (Sound.Jet etc.) | |
Diffstat: | |
M src/sound.h | 11 +++++++++++ | |
1 file changed, 11 insertions(+), 0 deletions(-) | |
--- | |
diff --git a/src/sound.h b/src/sound.h | |
t@@ -26,8 +26,19 @@ | |
#ifdef HAVE_CONFIG_H | |
#include <config.h> | |
#endif | |
+#include <glib.h> | |
+ | |
+struct _SoundDriver { | |
+ gchar *name; | |
+ gboolean (*open) (void); | |
+ void (*close) (void); | |
+ void (*play) (const gchar *snd); | |
+}; | |
+typedef struct _SoundDriver SoundDriver; | |
void SoundInit(void); | |
+void SoundOpen(gchar *drivername); | |
void SoundClose(void); | |
+void SoundPlay(const gchar *snd); | |
#endif /* __DP_SOUND_H__ */ |