ref: ae9721409b26837779d56eb3812178112b3e10ab
parent: 0e8395349f3dbcc4dc3db1502fcdb1377e632daa
author: Simon Howard <[email protected]>
date: Sat Sep 28 21:49:48 EDT 2013
Preserve libsamplerate_scale in the setup tool. Subversion-branch: /branches/v2-branch Subversion-revision: 2691
--- a/src/setup/sound.c
+++ b/src/setup/sound.c
@@ -81,6 +81,7 @@
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 @@
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);