diff options
-rw-r--r-- | audio/softsynth/mt32.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/audio/softsynth/mt32.cpp b/audio/softsynth/mt32.cpp index c319457ae2..186118262f 100644 --- a/audio/softsynth/mt32.cpp +++ b/audio/softsynth/mt32.cpp @@ -293,6 +293,11 @@ int MidiDriver_MT32::open() { drawMessage(-1, _s("Initializing MT-32 Emulator")); if (!_synth->open(prop)) return MERR_DEVICE_NOT_AVAILABLE; + + double gain = (double)ConfMan.getInt("midi_gain") / 100.0; + _synth->setOutputGain(1.0f * gain); + _synth->setReverbOutputGain(0.68f * gain); + _initializing = false; if (screenFormat.bytesPerPixel > 1) |