summaryrefslogtreecommitdiff
path: root/src/setup/sound.c
diff options
context:
space:
mode:
authorSimon Howard2013-03-03 02:01:04 +0000
committerSimon Howard2013-03-03 02:01:04 +0000
commit0cd984759aa3d21b74c596cf930b6002dd425618 (patch)
treed6d2bc564affc93d282d6aab6b524265293f1260 /src/setup/sound.c
parent93a2cca2c99b9a792a318eca671b1c0d06e6b448 (diff)
downloadchocolate-doom-0cd984759aa3d21b74c596cf930b6002dd425618.tar.gz
chocolate-doom-0cd984759aa3d21b74c596cf930b6002dd425618.tar.bz2
chocolate-doom-0cd984759aa3d21b74c596cf930b6002dd425618.zip
Add configuration file variable to specify path to a Timidity config
file. Subversion-branch: /branches/v2-branch Subversion-revision: 2564
Diffstat (limited to 'src/setup/sound.c')
-rw-r--r--src/setup/sound.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/setup/sound.c b/src/setup/sound.c
index 1ed73cc6..4a9b80b3 100644
--- a/src/setup/sound.c
+++ b/src/setup/sound.c
@@ -78,6 +78,8 @@ static int voiceVolume = 15;
static int show_talk = 0;
static int use_libsamplerate = 0;
+static char *timidity_cfg_path = "";
+
// DOS specific variables: these are unused but should be maintained
// so that the config file can be shared between chocolate
// doom and doom.exe
@@ -251,6 +253,7 @@ void BindSoundVariables(void)
M_BindVariable("music_volume", &musicVolume);
M_BindVariable("snd_samplerate", &snd_samplerate);
M_BindVariable("use_libsamplerate", &use_libsamplerate);
+ M_BindVariable("timidity_cfg_path", &timidity_cfg_path);
M_BindVariable("snd_sbport", &snd_sbport);
M_BindVariable("snd_sbirq", &snd_sbirq);