mirror of
https://codeberg.org/unspeaker/tek.git
synced 2025-12-08 04:36:45 +01:00
rename frame to sample everywhere
This commit is contained in:
parent
063706017e
commit
d77fe325b0
7 changed files with 40 additions and 38 deletions
|
|
@ -352,7 +352,7 @@ impl<E: Engine> PhrasePlayer<E> {
|
|||
pub fn frames_since_start (&self) -> Option<usize> {
|
||||
self.phrase.as_ref()
|
||||
.map(|(started,_)|started.load(Ordering::Relaxed))
|
||||
.map(|started|started - self.clock.frame())
|
||||
.map(|started|started - self.clock.sample())
|
||||
}
|
||||
}
|
||||
/// Displays and edits phrase length
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue