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:
Tobias Doerffel
2008-01-26 08:51:56 +00:00
parent 36f7b4de0f
commit 3817dc7a78

View File

@@ -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 ),