mirror of
https://codeberg.org/unspeaker/tek.git
synced 2025-12-07 12:16:42 +01:00
wip: sequencer now copies from buffers
This commit is contained in:
parent
aa478099d9
commit
2fc8e84551
15 changed files with 310 additions and 256 deletions
|
|
@ -33,9 +33,9 @@ pub struct TransportToolbar {
|
|||
/// JACK transport handle.
|
||||
transport: Option<Transport>,
|
||||
/// Quantization factor
|
||||
pub quant: usize,
|
||||
pub quant: u16,
|
||||
/// Global sync quant
|
||||
pub sync: usize,
|
||||
pub sync: u16,
|
||||
/// Current transport state
|
||||
pub playing: Option<TransportState>,
|
||||
/// Current position according to transport
|
||||
|
|
@ -56,7 +56,7 @@ impl TransportToolbar {
|
|||
playing: Some(TransportState::Stopped),
|
||||
started: None,
|
||||
quant: 24,
|
||||
sync: timebase.ppq() as usize * 4,
|
||||
sync: timebase.ppq() as u16 * 4,
|
||||
transport,
|
||||
timebase,
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue