From 93ca7b42fb36e56f6e12d228398073c3a68f2e27 Mon Sep 17 00:00:00 2001 From: nick_m Date: Fri, 4 Nov 2016 02:12:20 +1100 Subject: remove unused TempoMap::tempo_at_beat(). implement unused tempo_at_quarter_note(). --- libs/ardour/ardour/tempo.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'libs/ardour/ardour/tempo.h') 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; -- cgit v1.2.3