diff options
author | Simon Howard | 2014-03-23 00:58:38 -0400 |
---|---|---|
committer | Simon Howard | 2014-03-23 00:58:38 -0400 |
commit | 4878ba55d2db88aaab117628cc1e91933cc0e50e (patch) | |
tree | 2c7df38ecefd167330762dfb49262b735d89971d | |
parent | 765ca3a04dafe63b8803443067293ee46f53b951 (diff) | |
download | chocolate-doom-4878ba55d2db88aaab117628cc1e91933cc0e50e.tar.gz chocolate-doom-4878ba55d2db88aaab117628cc1e91933cc0e50e.tar.bz2 chocolate-doom-4878ba55d2db88aaab117628cc1e91933cc0e50e.zip |
setup: Add missing snd_maxslicetime_ms variable.
Preserve the snd_maxslicetime_ms variable when loading/saving configs
in the setup tool.
-rw-r--r-- | src/setup/sound.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/setup/sound.c b/src/setup/sound.c index ab78cdf5..f1603e84 100644 --- a/src/setup/sound.c +++ b/src/setup/sound.c @@ -74,6 +74,7 @@ int snd_musicdevice = SNDDEVICE_SB; int snd_samplerate = 44100; int opl_io_port = 0x388; int snd_cachesize = 64 * 1024 * 1024; +int snd_maxslicetime_ms = 28; char *snd_musiccmd = ""; static int numChannels = 8; @@ -318,6 +319,7 @@ void BindSoundVariables(void) M_BindVariable("snd_sbirq", &snd_sbirq); M_BindVariable("snd_sbdma", &snd_sbdma); M_BindVariable("snd_mport", &snd_mport); + M_BindVariable("snd_maxslicetime_ms", &snd_maxslicetime_ms); M_BindVariable("snd_musiccmd", &snd_musiccmd); M_BindVariable("snd_cachesize", &snd_cachesize); |