mirror of
https://codeberg.org/unspeaker/tek.git
synced 2025-12-09 05:06:43 +01:00
clock.instant -> clock.current
This commit is contained in:
parent
e7dce0f84b
commit
a31d6389be
5 changed files with 10 additions and 10 deletions
|
|
@ -418,7 +418,7 @@ impl PhrasePlayer {
|
|||
}
|
||||
pub fn pulses_since_start (&self) -> Option<f64> {
|
||||
if let Some((started, Some(_))) = self.phrase.as_ref() {
|
||||
Some(self.clock.instant.pulse().get() - started.pulse().get())
|
||||
Some(self.clock.current.pulse().get() - started.pulse().get())
|
||||
} else {
|
||||
None
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue