Fix SF2 gain problems when exporting

Fix the SF2 gain problems that persisted in issue #2204
This commit is contained in:
Alexandre Almeida
2015-08-12 21:30:05 -03:00
parent 3f326b81fc
commit 6cb451abbe

View File

@@ -483,7 +483,6 @@ void sf2Instrument::updateSampleRate()
// synth program change (set bank and patch)
updatePatch();
updateGain();
}
else
{
@@ -524,6 +523,7 @@ void sf2Instrument::updateSampleRate()
updateChorus();
updateReverbOn();
updateChorusOn();
updateGain();
// Reset last MIDI pitch properties, which will be set to the correct values
// upon playing the next note