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:
@@ -1,3 +1,9 @@
|
||||
2008-05-27 Paul Giblock <drfaygo/at/gmail/dot/com>
|
||||
|
||||
* plugins/sf2_player/sf2_player.cpp:
|
||||
Restore gain setting when loading a project and keep gain setting when
|
||||
changing sample rate
|
||||
|
||||
2008-05-26 Paul Giblock <drfaygo/at/gmail/dot/com>
|
||||
|
||||
* include/controller_view.h:
|
||||
|
||||
@@ -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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user