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

@@ -1,3 +1,8 @@
2008-06-28 Paul Giblock <drfaygo/at/gmail/dot/com>
* plugins/sf2_player/sf2_player.cpp:
Initialize gain at 1.0
2008-06-28 Tobias Doerffel <tobydox/at/users/dot/sourceforge/dot/net>
* plugins/Makefile.am:

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() ) );
}