diff options
Diffstat (limited to 'libs/ardour/ardour/tempo.h')
-rw-r--r-- | libs/ardour/ardour/tempo.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libs/ardour/ardour/tempo.h b/libs/ardour/ardour/tempo.h index 0ca3b71ec7..b8b64fa37f 100644 --- a/libs/ardour/ardour/tempo.h +++ b/libs/ardour/ardour/tempo.h @@ -213,6 +213,8 @@ class TempoMap : public PBD::StatefulDestructible operator Timecode::BBT_Time() const { return bbt(); } operator framepos_t() const { return frame; } + bool is_bar() const { return beat == 1; } + BBTPoint (const Meter& m, const Tempo& t, framepos_t f, uint32_t b, uint32_t e) : frame (f), meter (&m), tempo (&t), bar (b), beat (e) {} |