summaryrefslogtreecommitdiff
path: root/setup/sound.c
diff options
context:
space:
mode:
authorSimon Howard2007-06-14 21:45:50 +0000
committerSimon Howard2007-06-14 21:45:50 +0000
commit0480c925192df4f60416f3676ff4a295e2bc9e27 (patch)
tree85e0b6a6834ade2bcf6a1d367831860eb718516e /setup/sound.c
parent5aa5e1fed5f7245a942bbfee43935d58a990deb5 (diff)
downloadchocolate-doom-0480c925192df4f60416f3676ff4a295e2bc9e27.tar.gz
chocolate-doom-0480c925192df4f60416f3676ff4a295e2bc9e27.tar.bz2
chocolate-doom-0480c925192df4f60416f3676ff4a295e2bc9e27.zip
Add configuration file variable to change the sound sample rate
(snd_samplerate) Subversion-branch: /trunk/chocolate-doom Subversion-revision: 906
Diffstat (limited to 'setup/sound.c')
-rw-r--r--setup/sound.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/setup/sound.c b/setup/sound.c
index 6cc3970d..6b427d58 100644
--- a/setup/sound.c
+++ b/setup/sound.c
@@ -72,6 +72,8 @@ int sfxVolume = 15;
int snd_musicdevice = DEFAULT_MUSIC_DEVICE;
int musicVolume = 15;
+int snd_samplerate = 22050;
+
static int snd_sfxmode;
static int snd_musicenabled;