summaryrefslogtreecommitdiff
path: root/src/s_sound.h
diff options
context:
space:
mode:
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