diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2012-01-04 03:27:55 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2012-01-04 03:27:55 +0000 |
commit | 365a8f7f14bdc653bb012b10be8938a8eaaa69ce (patch) | |
tree | 05bad4a94d70807cda2e8fdc02b79f1e8aab8d8d /libs/ardour/ardour/tempo.h | |
parent | b1a33855ce4254ebbee4f273bb74ceb50628ed05 (diff) |
implement TempoMap::framepos_minus_beats() using new bar|beat map structure, and fix accuracy of TempoMap::framepos_plus_bbt()
git-svn-id: svn://localhost/ardour2/branches/3.0@11155 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/ardour/tempo.h')
-rw-r--r-- | libs/ardour/ardour/tempo.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libs/ardour/ardour/tempo.h b/libs/ardour/ardour/tempo.h index b8b64fa37f..3f4b783de7 100644 --- a/libs/ardour/ardour/tempo.h +++ b/libs/ardour/ardour/tempo.h @@ -271,6 +271,7 @@ class TempoMap : public PBD::StatefulDestructible framepos_t framepos_plus_bbt (framepos_t pos, Timecode::BBT_Time b); framepos_t framepos_plus_beats (framepos_t, Evoral::MusicalTime); + framepos_t framepos_minus_bbt (framepos_t pos, Timecode::BBT_Time b); framepos_t framepos_minus_beats (framepos_t, Evoral::MusicalTime); Evoral::MusicalTime framewalk_to_beats (framepos_t pos, framecnt_t distance); |