set track for knobs in order to make them automatable

git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@778 0778d3d1-df1d-0410-868b-ea421aaaa00d
This commit is contained in:
Tobias Doerffel
2008-03-08 09:23:58 +00:00
parent ee04ea3c74
commit 2c2156d3eb
2 changed files with 22 additions and 0 deletions

View File

@@ -65,6 +65,11 @@ kickerInstrument::kickerInstrument( instrumentTrack * _instrument_track ) :
m_distModel( 0.8f, 0.0f, 100.0f, 0.1f, this ),
m_gainModel( 1.0f, 0.1f, 5.0f, 0.05f, this )
{
m_startFreqModel.setTrack( _instrument_track );
m_endFreqModel.setTrack( _instrument_track );
m_decayModel.setTrack( _instrument_track );
m_distModel.setTrack( _instrument_track );
m_gainModel.setTrack( _instrument_track );
}