diff options
author | Torbjörn Andersson | 2012-12-27 15:08:54 +0100 |
---|---|---|
committer | Johannes Schickel | 2013-01-26 13:36:37 +0100 |
commit | 681f81211f25c4c9fc163e0ec4d005f796da547d (patch) | |
tree | 57a893f07f4cda13ec7ecc79f9a3cd1e993fa96a /base/commandLine.cpp | |
parent | 0b72bd2dea0cfea13ab03dc74361aea7ac95c997 (diff) | |
download | scummvm-rg350-681f81211f25c4c9fc163e0ec4d005f796da547d.tar.gz scummvm-rg350-681f81211f25c4c9fc163e0ec4d005f796da547d.tar.bz2 scummvm-rg350-681f81211f25c4c9fc163e0ec4d005f796da547d.zip |
FLUIDSYNTH: Add separate dialog for FluidSynth settings
I don't really understand what these parameters do, or what the
sensible values are, so for now the sliders are limited only by
the allowed (or, in one case, "safe") values.
Diffstat (limited to 'base/commandLine.cpp')
-rw-r--r-- | base/commandLine.cpp | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/base/commandLine.cpp b/base/commandLine.cpp index 44007c494a..b87ec4453f 100644 --- a/base/commandLine.cpp +++ b/base/commandLine.cpp @@ -239,6 +239,24 @@ void registerDefaults() { ConfMan.registerDefault("gui_saveload_chooser", "grid"); ConfMan.registerDefault("gui_saveload_last_pos", "0"); + +#ifdef USE_FLUIDSYNTH + // FluidSynth settings. All multiplied by 100, except reverb width + // which is multiplied by 10, and chorus number which is an integer + // to begin with. + ConfMan.registerDefault("fluidsynth_chorus_nr", 3); + ConfMan.registerDefault("fluidsynth_chorus_level", 200); + ConfMan.registerDefault("fluidsynth_chorus_speed", 30); + ConfMan.registerDefault("fluidsynth_chorus_depth", 800); + ConfMan.registerDefault("fluidsynth_chorus_waveform", "sine"); + + ConfMan.registerDefault("fluidsynth_reverb_roomsize", 20); + ConfMan.registerDefault("fluidsynth_reverb_damping", 0); + ConfMan.registerDefault("fluidsynth_reverb_width", 5); + ConfMan.registerDefault("fluidsynth_reverb_level", 90); + + ConfMan.registerDefault("fluidsynth_misc_interpolation", "4th"); +#endif } // |