mirror of
https://codeberg.org/unspeaker/tek.git
synced 2025-12-08 12:46:42 +01:00
fix transport clock timebase
This commit is contained in:
parent
ff7ae12405
commit
21b08bf3df
6 changed files with 22 additions and 14 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue