remove API from Temporal:timecnt_t that used superclock_t
Not possible for a compiler to differentiate superclock_t and sample(pos|cnt)_t, which can lead to subtle but major errors
This commit is contained in:
@@ -340,7 +340,6 @@ class LIBTEMPORAL_API timecnt_t {
|
||||
Temporal::Beats beats () const { if (_distance.flagged()) return Beats::ticks (_distance.val()); return compute_beats(); }
|
||||
int64_t ticks () const { if (_distance.flagged()) return _distance.val(); return compute_ticks(); }
|
||||
|
||||
timecnt_t & operator= (superclock_t s) { _distance = int62_t (false, s); return *this; }
|
||||
timecnt_t & operator= (Temporal::Beats const & b) { _distance = int62_t (true, b.to_ticks()); return *this; }
|
||||
|
||||
/* return a timecnt_t that is the next/previous (earlier/later) possible position given
|
||||
|
||||
Reference in New Issue
Block a user