mirror of
https://codeberg.org/unspeaker/tek.git
synced 2025-12-07 20:26:42 +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
|
|
@ -11,7 +11,7 @@ impl<E: Engine> TransportToolbar<E> {
|
|||
let CycleTimes { current_frames, current_usecs, next_usecs, period_usecs } = times;
|
||||
let chunk_size = scope.n_frames() as usize;
|
||||
let transport = self.transport.as_ref().unwrap().query().unwrap();
|
||||
self.clock.set_frame(transport.pos.frame() as usize);
|
||||
self.clock.set_sample(transport.pos.frame() as usize);
|
||||
let mut reset = false;
|
||||
if *self.clock.playing.read().unwrap() != Some(transport.state) {
|
||||
match transport.state {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue