From ddac0f765174246d410adf2a6167fe8ec88de6ea Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Tue, 11 Aug 2020 18:39:02 -0600 Subject: [PATCH] Temporal: what was that comment about not being able to disambiguate samples and superclocks? --- libs/temporal/temporal/timeline.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/temporal/temporal/timeline.h b/libs/temporal/temporal/timeline.h index 01d730bff7..7840bd0c97 100644 --- a/libs/temporal/temporal/timeline.h +++ b/libs/temporal/temporal/timeline.h @@ -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(); }