Fix sf2player gain

git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1028 0778d3d1-df1d-0410-868b-ea421aaaa00d
This commit is contained in:
Paul Giblock
2008-05-28 00:42:24 +00:00
parent fe80dc9e2a
commit d8848ff6a0
2 changed files with 9 additions and 0 deletions

View File

@@ -220,6 +220,8 @@ void sf2Instrument::loadSettings( const QDomElement & _this )
m_chorusLevel.loadSettings( _this, "chorusLevel" );
m_chorusSpeed.loadSettings( _this, "chorusSpeed" );
m_chorusDepth.loadSettings( _this, "chorusDepth" );
updateGain();
}
@@ -405,6 +407,7 @@ void sf2Instrument::updateSampleRate( void )
// synth program change (set bank and patch)
updatePatch();
updateGain();
}
else
{