From 2a026e12779b77b2aeabb78bdca3ea00e10d478a Mon Sep 17 00:00:00 2001 From: Simon Howard Date: Wed, 16 May 2007 14:28:22 +0000 Subject: Add FEATURE_SOUND. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 877 --- src/s_sound.h | 23 ++++++++++++++++++++--- 1 file changed, 20 insertions(+), 3 deletions(-) (limited to 'src/s_sound.h') 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 // using from sounds.h -- cgit v1.2.3