reverted previous change of some models from floatModel to intModel as it caused crashes in knob-class

git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1384 0778d3d1-df1d-0410-868b-ea421aaaa00d
This commit is contained in:
Tobias Doerffel
2008-07-27 18:12:34 +00:00
parent 264ffa232d
commit a4caab6fe7
2 changed files with 6 additions and 6 deletions

View File

@@ -180,9 +180,9 @@ private:
QList<notePlayHandle *> m_processHandles;
intModel m_volumeModel;
intModel m_panningModel;
intModel m_pitchModel;
floatModel m_volumeModel;
floatModel m_panningModel;
floatModel m_pitchModel;
intModel m_effectChannelModel;

View File

@@ -101,11 +101,11 @@ instrumentTrack::instrumentTrack( trackContainer * _tc ) :
this, this ),
m_notes(),
m_baseNoteModel( 0, 0, KeysPerOctave * NumOctaves - 1, this ),
m_volumeModel( DefaultVolume, MinVolume, MaxVolume, this,
m_volumeModel( DefaultVolume, MinVolume, MaxVolume, 1, this,
tr( "Volume" ) ),
m_panningModel( DefaultPanning, PanningLeft, PanningRight,
m_panningModel( DefaultPanning, PanningLeft, PanningRight, 1,
this, tr( "Panning" ) ),
m_pitchModel( 0, -100, 100, this, tr( "Pitch" ) ),
m_pitchModel( 0, -100, 100, 1, this, tr( "Pitch" ) ),
m_effectChannelModel( 0, 0, NumFxChannels, this, tr( "FX channel" ) ),
m_instrument( NULL ),
m_soundShaping( this ),