From 505762d7a57a695c976d98fd2208b59b69ebcc15 Mon Sep 17 00:00:00 2001 From: skyjake Date: Thu, 26 Jul 2012 16:37:18 +0300 Subject: [PATCH] dsFluidSynth: Increase synthesizer output gain The default maximum gain level of FluidSynth is a little bit too low compared to the sound effects. --- doomsday/plugins/fluidsynth/src/driver_fluidsynth.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doomsday/plugins/fluidsynth/src/driver_fluidsynth.cpp b/doomsday/plugins/fluidsynth/src/driver_fluidsynth.cpp index ab20a0c4c7..f3565a1592 100644 --- a/doomsday/plugins/fluidsynth/src/driver_fluidsynth.cpp +++ b/doomsday/plugins/fluidsynth/src/driver_fluidsynth.cpp @@ -52,9 +52,9 @@ int DS_Init(void) return true; // Already initialized. } + // Set up a reasonable configuration. fsConfig = new_fluid_settings(); - - // TODO: configure fluidsynth + fluid_settings_setnum(fsConfig, "synth.gain", 0.4); // Create the synthesizer. fsSynth = new_fluid_synth(fsConfig);