summaryrefslogtreecommitdiff
path: root/src/s_sound.h
diff options
context:
space:
mode:
authorSimon Howard2007-05-16 14:28:22 +0000
committerSimon Howard2007-05-16 14:28:22 +0000
commit2a026e12779b77b2aeabb78bdca3ea00e10d478a (patch)
tree02042c4b81e2cdf52e8426cb1221ca319f8fde7d /src/s_sound.h
parent991ef372d4acdf5f2fcae09cef05bfec12ce9b64 (diff)
downloadchocolate-doom-2a026e12779b77b2aeabb78bdca3ea00e10d478a.tar.gz
chocolate-doom-2a026e12779b77b2aeabb78bdca3ea00e10d478a.tar.bz2
chocolate-doom-2a026e12779b77b2aeabb78bdca3ea00e10d478a.zip
Add FEATURE_SOUND.
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 877
Diffstat (limited to 'src/s_sound.h')
-rw-r--r--src/s_sound.h23
1 files changed, 20 insertions, 3 deletions
diff --git a/src/s_sound.h b/src/s_sound.h
index ea718814..015a18fa 100644
--- a/src/s_sound.h
+++ b/src/s_sound.h
@@ -29,8 +29,22 @@
#define __S_SOUND__
-
-
+typedef enum
+{
+ SNDDEVICE_NONE = 0,
+ SNDDEVICE_PCSPEAKER = 1,
+ SNDDEVICE_ADLIB = 2,
+ SNDDEVICE_SB = 3,
+ SNDDEVICE_PAS = 4,
+ SNDDEVICE_GUS = 5,
+ SNDDEVICE_WAVEBLASTER = 6,
+ SNDDEVICE_SOUNDCANVAS = 7,
+ SNDDEVICE_GENMIDI = 8,
+ SNDDEVICE_AWE32 = 9,
+} snddevice_t;
+
+extern int snd_sfxdevice;
+extern int snd_musicdevice;
//
// Initializes sound stuff, including volume
@@ -43,6 +57,10 @@ S_Init
int musicVolume );
+// Shut down sound
+
+void S_Shutdown(void);
+
//
@@ -52,7 +70,6 @@ S_Init
//
void S_Start(void);
-
//
// Start sound for thing at <origin>
// using <sound_id> from sounds.h