fixed upper boundaries for wave-shape- and modulation-algo-models
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/branches/lmms-mv@677 0778d3d1-df1d-0410-868b-ea421aaaa00d
This commit is contained in:
@@ -78,10 +78,10 @@ oscillatorObject::oscillatorObject( model * _parent, track * _track ) :
|
||||
m_fineRightModel( 0.0f, -100.0f, 100.0f, 1.0f, this ),
|
||||
m_phaseOffsetModel( 0.0f, 0.0f, 360.0f, 1.0f, this ),
|
||||
m_stereoPhaseDetuningModel( 0.0f, 0.0f, 360.0f, 1.0f, this ),
|
||||
m_waveShapeModel( oscillator::SineWave, 0, oscillator::NumWaveShapes,
|
||||
m_waveShapeModel( oscillator::SineWave, 0, oscillator::NumWaveShapes-1,
|
||||
1, this ),
|
||||
m_modulationAlgoModel( oscillator::SignalMix, 0,
|
||||
oscillator::NumModulationAlgos, 1, this ),
|
||||
oscillator::NumModulationAlgos-1, 1, this ),
|
||||
m_sampleBuffer( new sampleBuffer ),
|
||||
m_volumeLeft( 0.0f ),
|
||||
m_volumeRight( 0.0f ),
|
||||
|
||||
Reference in New Issue
Block a user