mirror of
https://codeberg.org/unspeaker/tek.git
synced 2025-12-06 19:56:42 +01:00
open ports; start work on sampler
This commit is contained in:
parent
11a9f3ba50
commit
f9218e887a
5 changed files with 501 additions and 96 deletions
34
src/prelude.rs
Normal file
34
src/prelude.rs
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
pub use std::error::Error;
|
||||
pub use std::io::{stdout, Stdout, Write};
|
||||
pub use std::thread::spawn;
|
||||
pub use std::time::Duration;
|
||||
pub use std::sync::{
|
||||
Arc,
|
||||
atomic::{AtomicBool, Ordering},
|
||||
mpsc::{channel, Sender, Receiver}
|
||||
};
|
||||
pub use crossterm::{
|
||||
QueueableCommand,
|
||||
cursor,
|
||||
terminal,
|
||||
style::*,
|
||||
};
|
||||
pub use jack::{
|
||||
AsyncClient,
|
||||
AudioIn,
|
||||
AudioOut,
|
||||
Client,
|
||||
ClientOptions,
|
||||
ClientStatus,
|
||||
ClosureProcessHandler,
|
||||
Control,
|
||||
Frames,
|
||||
NotificationHandler,
|
||||
Port,
|
||||
PortId,
|
||||
ProcessScope,
|
||||
};
|
||||
pub type Jack<N> = AsyncClient<
|
||||
N,
|
||||
ClosureProcessHandler<Box<dyn FnMut(&Client, &ProcessScope)-> Control + Send>>
|
||||
>;
|
||||
Loading…
Add table
Add a link
Reference in a new issue