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:
@@ -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;
|
||||
|
||||
|
||||
|
||||
@@ -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 ),
|
||||
|
||||
Reference in New Issue
Block a user