display/play/stop transport

This commit is contained in:
🪞👃🪞 2024-05-30 21:27:02 +03:00
parent 265dc13248
commit 1f928fba9d
8 changed files with 251 additions and 177 deletions

View file

@ -4,8 +4,9 @@ pub use std::thread::spawn;
pub use std::time::Duration;
pub use std::sync::{
Arc,
Mutex,
atomic::{AtomicBool, Ordering},
mpsc::{channel, Sender, Receiver}
mpsc::{self, channel, Sender, Receiver}
};
pub use crossterm::{
QueueableCommand,
@ -24,10 +25,16 @@ pub use jack::{
ClosureProcessHandler,
Control,
Frames,
MidiIn,
MidiOut,
NotificationHandler,
Port,
PortId,
ProcessHandler,
ProcessScope,
Transport,
TransportState,
TransportStatePosition
};
pub type Jack<N> = AsyncClient<
N,