tNow fully functional ESD sound support; sound files can be configured via. configuration files (Sound.Jet etc.) - vaccinewars - be a doctor and try to vaccinate the world
HTML git clone git://src.adamsgaard.dk/vaccinewars
DIR Log
DIR Files
DIR Refs
DIR README
DIR LICENSE
---
DIR commit 928060cf83f46a895f7059191f6042a24778b4b8
DIR parent 78cb669665c3bc332d64515a6fde236f81686eb4
HTML Author: Ben Webb <ben@salilab.org>
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(-)
---
DIR 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__ */