aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32/alMidi.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2013-12-01 00:31:39 -0800
committerChris Robinson <[email protected]>2013-12-01 00:31:39 -0800
commit517be463ae0ebc2ca15a4ba48d3b969a264183f2 (patch)
tree854d100fccc2e2518244d0a66c2e23610e6f144d /OpenAL32/alMidi.c
parentdc13ce7a0aadf408c29db7acad6bb8f5191b596d (diff)
Minor comment update
Diffstat (limited to 'OpenAL32/alMidi.c')
-rw-r--r--OpenAL32/alMidi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenAL32/alMidi.c b/OpenAL32/alMidi.c
index c0d8db48..e0d07fe8 100644
--- a/OpenAL32/alMidi.c
+++ b/OpenAL32/alMidi.c
@@ -289,7 +289,7 @@ static ALenum FSynth_loadSoundfont(FSynth *self, const char *filename)
static void FSynth_setGain(FSynth *self, ALfloat gain)
{
- /* Add an additional 0.2 (-14dB) to the gain, to help keep the mix from clipping. */
+ /* Scale gain by an additional 0.2 (-14dB), to help keep the mix from clipping. */
fluid_settings_setnum(self->Settings, "synth.gain", 0.2 * gain);
fluid_synth_set_gain(self->Synth, 0.2f * gain);
MidiSynth_setGain(STATIC_CAST(MidiSynth, self), gain);