fix transport clock timebase

This commit is contained in:
🪞👃🪞 2024-11-01 15:41:19 +02:00
parent ff7ae12405
commit 21b08bf3df
6 changed files with 22 additions and 14 deletions

View file

@ -393,7 +393,7 @@ impl PhrasePlayer {
pub fn enqueue_next (&mut self, phrase: Option<&Arc<RwLock<Phrase>>>) {
let start = self.clock.next_launch_pulse();
self.next_phrase = Some((
Instant::from_pulse(&self.clock.timebase, start as f64),
Instant::from_pulse(&self.clock.timebase(), start as f64),
phrase.map(|p|p.clone())
));
self.reset = true;