From 9fe9658e8a62ef1e3be8cb9d7cbff26417b8063e Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Tue, 4 Aug 2020 13:50:50 -0600 Subject: [PATCH] Temporal: add clarifying comment --- libs/temporal/temporal/timeline.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/libs/temporal/temporal/timeline.h b/libs/temporal/temporal/timeline.h index 01aed35a46..b9636db1bc 100644 --- a/libs/temporal/temporal/timeline.h +++ b/libs/temporal/temporal/timeline.h @@ -201,10 +201,13 @@ class timepos_t : public int62_t { private: int64_t v; - /* special constructor for max_timepos */ - static timepos_t _max_timepos; + /* these can only be called after verifying that the time domain does + * not match the relevant one i.e. call _beats() to get a Beats value + * when this is using the audio time doamin + */ + superclock_t _superclocks() const; int64_t _ticks() const; Beats _beats() const;