"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "plugins/peak_controller_effect/peak_controller_effect.cpp" between
lmms-1.2.0-rc7.tar.gz and lmms-1.2.0-rc8.tar.gz

About: LMMS (Linux MultiMedia Studio) is a sound generation system (creation of melodies and beats, synthesis and mixing of sounds, arranging of samples; full MIDI support). Release candidate.

peak_controller_effect.cpp  (lmms-1.2.0-rc7):peak_controller_effect.cpp  (lmms-1.2.0-rc8)
skipping to change at line 66 skipping to change at line 66
// settings and is used to set the PeakControllerEffect pointer upon load // settings and is used to set the PeakControllerEffect pointer upon load
//QVector<PeakControllerEffect *> PeakControllerEffect::s_effects; //QVector<PeakControllerEffect *> PeakControllerEffect::s_effects;
PeakControllerEffect::PeakControllerEffect( PeakControllerEffect::PeakControllerEffect(
Model * _parent, Model * _parent,
const Descriptor::SubPluginFeatures::Key * _key ) : const Descriptor::SubPluginFeatures::Key * _key ) :
Effect( &peakcontrollereffect_plugin_descriptor, _parent, _key ), Effect( &peakcontrollereffect_plugin_descriptor, _parent, _key ),
m_effectId( rand() ), m_effectId( rand() ),
m_peakControls( this ), m_peakControls( this ),
m_lastSample( m_peakControls.m_baseModel.value() ), //sets the value to t he Peak Controller's Base value (rather than 0 like in previous versions) m_lastSample( 0 ),
m_autoController( NULL ) m_autoController( NULL )
{ {
m_autoController = new PeakController( Engine::getSong(), this ); m_autoController = new PeakController( Engine::getSong(), this );
if( !Engine::getSong()->isLoadingProject() && !PresetPreviewPlayHandle::i sPreviewing() ) if( !Engine::getSong()->isLoadingProject() && !PresetPreviewPlayHandle::i sPreviewing() )
{ {
Engine::getSong()->addController( m_autoController ); Engine::getSong()->addController( m_autoController );
} }
PeakController::s_effects.append( this ); PeakController::s_effects.append( this );
} }
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)