File diff r24046:6505c9992aeb → r24047:8f20a20fcf80
src/music/fluidsynth.cpp
Show inline comments
 
@@ -153,7 +153,7 @@ void MusicDriver_FluidSynth::SetVolume(b
 
	 * volume". Set gain using OpenTTD's volume, as a number between 0
 
	 * and 0.2. */
 
	double gain = (1.0 * vol) / (128.0 * 5.0);
 
	if (fluid_settings_setnum(_midi.settings, "synth.gain", gain) != 1) {
 
	if (fluid_settings_setnum(_midi.settings, "synth.gain", gain) != FLUID_OK) {
 
		DEBUG(driver, 0, "Could not set volume");
 
	}
 
}