mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-23 07:06:23 +01:00
Temporal: what was that comment about not being able to disambiguate samples and superclocks?
This commit is contained in:
parent
889edfd0a0
commit
ddac0f7651
1 changed files with 1 additions and 1 deletions
|
|
@ -53,7 +53,7 @@ class LIBTEMPORAL_API timepos_t : public int62_t {
|
|||
* which means we cannot use polymorphism to differentiate them.
|
||||
*/
|
||||
static timepos_t from_superclock (superclock_t s) { return timepos_t (false, s); }
|
||||
static timepos_t from_samples (superclock_t s) { return timepos_t (false, samples_to_superclock (s, _thread_sample_rate)); }
|
||||
static timepos_t from_samples (samplepos_t s) { return timepos_t (false, samples_to_superclock (s, _thread_sample_rate)); }
|
||||
|
||||
bool is_beats() const { return flagged(); }
|
||||
bool is_superclock() const { return !flagged(); }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue