diff options
author | nick_m <mainsbridge@gmail.com> | 2016-11-04 02:12:20 +1100 |
---|---|---|
committer | nick_m <mainsbridge@gmail.com> | 2016-11-11 03:37:08 +1100 |
commit | 93ca7b42fb36e56f6e12d228398073c3a68f2e27 (patch) | |
tree | 8322bfd26a715fad8cf27b13d3adece1a951c7b1 /libs/ardour/ardour | |
parent | 99e707217b3196d200c04aeb73e198d60b1c4e68 (diff) |
remove unused TempoMap::tempo_at_beat(). implement unused tempo_at_quarter_note().
Diffstat (limited to 'libs/ardour/ardour')
-rw-r--r-- | libs/ardour/ardour/tempo.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/libs/ardour/ardour/tempo.h b/libs/ardour/ardour/tempo.h index f139c071c7..57c6ced275 100644 --- a/libs/ardour/ardour/tempo.h +++ b/libs/ardour/ardour/tempo.h @@ -410,9 +410,6 @@ class LIBARDOUR_API TempoMap : public PBD::StatefulDestructible const Meter& meter_at_frame (framepos_t) const; - Tempo tempo_at_beat (const double& beat) const; - double beat_at_tempo (const Tempo& tempo) const; - /* bbt - it's nearly always better to use meter-based beat (above) unless tick resolution is desirable. */ @@ -423,7 +420,9 @@ class LIBARDOUR_API TempoMap : public PBD::StatefulDestructible double beat_at_bbt (const Timecode::BBT_Time& bbt); Timecode::BBT_Time bbt_at_beat (const double& beats); + double quarter_note_at_bbt (const Timecode::BBT_Time& bbt); double quarter_note_at_bbt_rt (const Timecode::BBT_Time& bbt); + Timecode::BBT_Time bbt_at_quarter_note (const double& quarter_note); framecnt_t bbt_duration_at (framepos_t, const Timecode::BBT_Time&, int dir); framepos_t framepos_plus_bbt (framepos_t pos, Timecode::BBT_Time b) const; |