Renamed all automation related files and classes to match new coding style
All automation-related files and classes have been renamed to match the new coding style.
This commit is contained in:
@@ -31,7 +31,7 @@
|
||||
|
||||
#include "FlpImport.h"
|
||||
#include "note_play_handle.h"
|
||||
#include "automation_pattern.h"
|
||||
#include "AutomationPattern.h"
|
||||
#include "basic_filters.h"
|
||||
#include "bb_track.h"
|
||||
#include "bb_track_container.h"
|
||||
@@ -1774,7 +1774,7 @@ if( scale )
|
||||
value = m->minValue<float>() + value *
|
||||
( m->maxValue<float>() - m->minValue<float>() );
|
||||
}
|
||||
automationPattern * p = automationPattern::globalAutomationPattern( m );
|
||||
AutomationPattern * p = AutomationPattern::globalAutomationPattern( m );
|
||||
p->putValue( jt->pos, value, false );
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
* LadspaEffect.cpp - class for processing LADSPA effects
|
||||
*
|
||||
* Copyright (c) 2006-2008 Danny McRae <khjklujn/at/users.sourceforge.net>
|
||||
* Copyright (c) 2009 Tobias Doerffel <tobydox/at/users.sourceforge.net>
|
||||
* Copyright (c) 2009-2010 Tobias Doerffel <tobydox/at/users.sourceforge.net>
|
||||
*
|
||||
* This file is part of Linux MultiMedia Studio - http://lmms.sourceforge.net
|
||||
*
|
||||
@@ -36,7 +36,7 @@
|
||||
#include "Mixer.h"
|
||||
#include "EffectChain.h"
|
||||
#include "Cpu.h"
|
||||
#include "automation_pattern.h"
|
||||
#include "AutomationPattern.h"
|
||||
#include "ControllerConnection.h"
|
||||
|
||||
#include "embed.cpp"
|
||||
@@ -123,10 +123,10 @@ void LadspaEffect::changeSampleRate()
|
||||
|
||||
// the IDs of re-created controls have been saved and now need to be
|
||||
// resolved again
|
||||
automationPattern::resolveAllIDs();
|
||||
AutomationPattern::resolveAllIDs();
|
||||
|
||||
// make sure, connections are ok
|
||||
ControllerConnection::finalizeConnections();
|
||||
ControllerConnection::finalizeConnections();
|
||||
}
|
||||
|
||||
|
||||
@@ -496,7 +496,7 @@ void LadspaEffect::pluginInstantiation()
|
||||
{
|
||||
port_desc_t * pp = m_ports.at( proc ).at( port );
|
||||
if( !manager->connectPort( m_key,
|
||||
m_handles[proc],
|
||||
m_handles[proc],
|
||||
port,
|
||||
pp->buffer ) )
|
||||
{
|
||||
|
||||
@@ -34,8 +34,8 @@
|
||||
#include "MidiImport.h"
|
||||
#include "track_container.h"
|
||||
#include "InstrumentTrack.h"
|
||||
#include "automation_track.h"
|
||||
#include "automation_pattern.h"
|
||||
#include "AutomationTrack.h"
|
||||
#include "AutomationPattern.h"
|
||||
#include "config_mgr.h"
|
||||
#include "pattern.h"
|
||||
#include "Instrument.h"
|
||||
@@ -152,15 +152,15 @@ public:
|
||||
lastPos( 0 )
|
||||
{ }
|
||||
|
||||
automationTrack * at;
|
||||
automationPattern * ap;
|
||||
AutomationTrack * at;
|
||||
AutomationPattern * ap;
|
||||
midiTime lastPos;
|
||||
|
||||
smfMidiCC & create( trackContainer * _tc )
|
||||
{
|
||||
if( !at )
|
||||
{
|
||||
at = dynamic_cast<automationTrack *>(
|
||||
at = dynamic_cast<AutomationTrack *>(
|
||||
track::create( track::AutomationTrack, _tc ) );
|
||||
}
|
||||
return *this;
|
||||
@@ -180,7 +180,7 @@ public:
|
||||
if( !ap || time > lastPos + DefaultTicksPerTact )
|
||||
{
|
||||
midiTime pPos = midiTime( time.getTact(), 0 );
|
||||
ap = dynamic_cast<automationPattern*>(
|
||||
ap = dynamic_cast<AutomationPattern*>(
|
||||
at->createTCO(0) );
|
||||
ap->movePosition( pPos );
|
||||
}
|
||||
@@ -293,10 +293,10 @@ bool MidiImport::readSMF( trackContainer * _tc )
|
||||
smfMidiChannel chs[256];
|
||||
|
||||
MeterModel & timeSigMM = engine::getSong()->getTimeSigModel();
|
||||
automationPattern * timeSigNumeratorPat =
|
||||
automationPattern::globalAutomationPattern( &timeSigMM.numeratorModel() );
|
||||
automationPattern * timeSigDenominatorPat =
|
||||
automationPattern::globalAutomationPattern( &timeSigMM.denominatorModel() );
|
||||
AutomationPattern * timeSigNumeratorPat =
|
||||
AutomationPattern::globalAutomationPattern( &timeSigMM.numeratorModel() );
|
||||
AutomationPattern * timeSigDenominatorPat =
|
||||
AutomationPattern::globalAutomationPattern( &timeSigMM.denominatorModel() );
|
||||
|
||||
// TODO: adjust these to Time.Sig changes
|
||||
double beatsPerTact = 4;
|
||||
@@ -324,7 +324,7 @@ bool MidiImport::readSMF( trackContainer * _tc )
|
||||
pd.setValue( 2 );
|
||||
|
||||
// Tempo stuff
|
||||
automationPattern * tap = _tc->tempoAutomationPattern();
|
||||
AutomationPattern * tap = _tc->tempoAutomationPattern();
|
||||
if( tap )
|
||||
{
|
||||
tap->clear();
|
||||
|
||||
Reference in New Issue
Block a user