summaryrefslogtreecommitdiff
path: root/src/setup
diff options
context:
space:
mode:
authorSimon Howard2013-09-29 01:49:48 +0000
committerSimon Howard2013-09-29 01:49:48 +0000
commitae9721409b26837779d56eb3812178112b3e10ab (patch)
tree7ec40ba2aed1e9e4039b8ec7ec0a883d8c46b4f0 /src/setup
parent0e8395349f3dbcc4dc3db1502fcdb1377e632daa (diff)
downloadchocolate-doom-ae9721409b26837779d56eb3812178112b3e10ab.tar.gz
chocolate-doom-ae9721409b26837779d56eb3812178112b3e10ab.tar.bz2
chocolate-doom-ae9721409b26837779d56eb3812178112b3e10ab.zip
Preserve libsamplerate_scale in the setup tool.
Subversion-branch: /branches/v2-branch Subversion-revision: 2691
Diffstat (limited to 'src/setup')
-rw-r--r--src/setup/sound.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/setup/sound.c b/src/setup/sound.c
index c83b9454..cd625efd 100644
--- a/src/setup/sound.c
+++ b/src/setup/sound.c
@@ -81,6 +81,7 @@ static int musicVolume = 15;
static int voiceVolume = 15;
static int show_talk = 0;
static int use_libsamplerate = 0;
+static float libsamplerate_scale = 0.65;
static char *timidity_cfg_path = "";
static char *gus_patch_path = "";
@@ -306,6 +307,7 @@ void BindSoundVariables(void)
M_BindVariable("music_volume", &musicVolume);
M_BindVariable("snd_samplerate", &snd_samplerate);
M_BindVariable("use_libsamplerate", &use_libsamplerate);
+ M_BindVariable("libsamplerate_scale", &libsamplerate_scale);
M_BindVariable("timidity_cfg_path", &timidity_cfg_path);
M_BindVariable("gus_patch_path", &gus_patch_path);
M_BindVariable("gus_ram_kb", &gus_ram_kb);