summaryrefslogtreecommitdiff
path: root/libs/ardour/ardour/tempo.h
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2011-12-11 14:50:36 +0000
committerCarl Hetherington <carl@carlh.net>2011-12-11 14:50:36 +0000
commit1bbe08af1a44f46c13873b762decc7629274929d (patch)
treec7516ca9e7bdce095a906002f354e8e04dfa94bf /libs/ardour/ardour/tempo.h
parented360080d0e7a4505eb3e90f3f9946754f0c779b (diff)
Keep track of MIDI region's start positions in beats, to
match the source, so that starts are not corrupted when tempos change (#4494). git-svn-id: svn://localhost/ardour2/branches/3.0@10976 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/ardour/tempo.h')
-rw-r--r--libs/ardour/ardour/tempo.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libs/ardour/ardour/tempo.h b/libs/ardour/ardour/tempo.h
index a6f7a36541..05d65602cf 100644
--- a/libs/ardour/ardour/tempo.h
+++ b/libs/ardour/ardour/tempo.h
@@ -249,6 +249,7 @@ class TempoMap : public PBD::StatefulDestructible
framepos_t framepos_plus_bbt (framepos_t pos, Timecode::BBT_Time b) const;
framepos_t framepos_plus_beats (framepos_t, Evoral::MusicalTime) const;
+ framepos_t framepos_minus_beats (framepos_t, Evoral::MusicalTime) const;
Evoral::MusicalTime framewalk_to_beats (framepos_t pos, framecnt_t distance) const;
void change_existing_tempo_at (framepos_t, double bpm, double note_type);