Correctly initialize sf2 gain on startup

git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1196 0778d3d1-df1d-0410-868b-ea421aaaa00d
This commit is contained in:
Paul Giblock
2008-06-29 04:30:10 +00:00
parent de3e2e3d0b
commit 3f738ae1a9
2 changed files with 7 additions and 0 deletions

View File

@@ -118,6 +118,7 @@ sf2Instrument::sf2Instrument( instrumentTrack * _instrument_track ) :
updateReverb();
updateChorusOn();
updateChorus();
updateGain();
connect( &m_bankNum, SIGNAL( dataChanged() ),
@@ -164,6 +165,7 @@ sf2Instrument::sf2Instrument( instrumentTrack * _instrument_track ) :
connect( &m_chorusDepth, SIGNAL( dataChanged() ),
this, SLOT( updateChorus() ) );
}