diff options
author | nick_m <mainsbridge@gmail.com> | 2016-05-21 01:46:50 +1000 |
---|---|---|
committer | nick_m <mainsbridge@gmail.com> | 2016-05-27 23:38:17 +1000 |
commit | 0757dc772908d8af4ffe294e2a92bfe1742199f2 (patch) | |
tree | cc585e925fd39afd6eac777b89878b14aafa45d4 /libs | |
parent | 074db3b861926012e9434fe15135ac401da6cb5c (diff) |
Tempo ramps - remove commented code
Diffstat (limited to 'libs')
-rw-r--r-- | libs/ardour/tempo.cc | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/libs/ardour/tempo.cc b/libs/ardour/tempo.cc index e2053e2e42..896e8dd23f 100644 --- a/libs/ardour/tempo.cc +++ b/libs/ardour/tempo.cc @@ -907,38 +907,6 @@ TempoMap::replace_tempo (const TempoSection& ts, const Tempo& tempo, const doubl PropertyChanged (PropertyChange ()); } -/* -TempoSection* -TempoMap::add_tempo_pulse (const Tempo& tempo, const double& pulse, ARDOUR::TempoSection::Type type) -{ - TempoSection* ts = 0; - const framepos_t frame = frame_at_pulse_locked (_metrics, pulse); - { - Glib::Threads::RWLock::WriterLock lm (lock); - ts = add_tempo_locked (tempo, pulse, frame, type, MusicTime, true); - } - - PropertyChanged (PropertyChange ()); - - return ts; -} - -TempoSection* -TempoMap::add_tempo_frame (const Tempo& tempo, const framepos_t& frame, ARDOUR::TempoSection::Type type) -{ - TempoSection* ts = 0; - const double pulse = pulse_at_frame_locked (_metrics, frame); - { - Glib::Threads::RWLock::WriterLock lm (lock); - ts = add_tempo_locked (tempo, pulse, frame, type, AudioTime, true); - } - - - PropertyChanged (PropertyChange ()); - - return ts; -} -*/ TempoSection* TempoMap::add_tempo (const Tempo& tempo, const double& pulse, const framepos_t& frame, ARDOUR::TempoSection::Type type, PositionLockStyle pls) |