mirror of
https://codeberg.org/unspeaker/tek.git
synced 2025-12-08 12:46:42 +01:00
device: stub some future features
This commit is contained in:
parent
b0c936bda0
commit
0e5207a79d
4 changed files with 17 additions and 15 deletions
|
|
@ -13,7 +13,12 @@ wavers = { workspace = true, optional = true }
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
default = [ "clock", "sequencer", "sampler" ]
|
default = [ "clock", "sequencer", "sampler" ]
|
||||||
lv2 = [ "livi" ]
|
clock = []
|
||||||
sampler = [ "symphonia", "wavers" ]
|
sampler = [ "symphonia", "wavers" ]
|
||||||
sequencer = [ "clock", "uuid" ]
|
sequencer = [ "clock", "uuid" ]
|
||||||
clock = []
|
plugin = [] # temporary
|
||||||
|
lv2 = [ "livi" ]
|
||||||
|
vst2 = []
|
||||||
|
vst3 = []
|
||||||
|
clap = []
|
||||||
|
sf2 = []
|
||||||
|
|
|
||||||
|
|
@ -29,10 +29,12 @@ pub(crate) use ratatui::{prelude::Rect, widgets::{Widget, canvas::{Canvas, Line}
|
||||||
|
|
||||||
#[derive(Debug)]
|
#[derive(Debug)]
|
||||||
pub enum Device {
|
pub enum Device {
|
||||||
#[cfg(feature = "sequencer")]
|
#[cfg(feature = "sequencer")] Sequencer(MidiPlayer),
|
||||||
Sequencer(MidiPlayer),
|
#[cfg(feature = "sampler")] Sampler(Sampler),
|
||||||
#[cfg(feature = "sampler")]
|
#[cfg(feature = "plugin")] Plugin(Plugin),
|
||||||
Sampler(Sampler),
|
#[cfg(feature = "lv2")] Lv2, // TODO
|
||||||
#[cfg(feature = "plugin")]
|
#[cfg(feature = "vst2")] Vst2, // TODO
|
||||||
Plugin(Plugin),
|
#[cfg(feature = "vst3")] Vst3, // TODO
|
||||||
|
#[cfg(feature = "clap")] Clap, // TODO
|
||||||
|
#[cfg(feature = "sf2")] Sf2, // TODO
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -15,4 +15,3 @@ pub(crate) use std::sync::{Arc, RwLock};
|
||||||
mod jack_client; pub use self::jack_client::*;
|
mod jack_client; pub use self::jack_client::*;
|
||||||
mod jack_event; pub use self::jack_event::*;
|
mod jack_event; pub use self::jack_event::*;
|
||||||
mod jack_port; pub use self::jack_port::*;
|
mod jack_port; pub use self::jack_port::*;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -10,11 +10,7 @@ pub(crate) use std::path::PathBuf;
|
||||||
pub(crate) use std::fmt::Debug;
|
pub(crate) use std::fmt::Debug;
|
||||||
pub(crate) use std::ops::{Add, Sub, Mul, Div, Rem};
|
pub(crate) use std::ops::{Add, Sub, Mul, Div, Rem};
|
||||||
|
|
||||||
pub(crate) use ::tengri::input::*;
|
|
||||||
pub(crate) use ::tengri::output::*;
|
|
||||||
pub(crate) use ::tengri::dsl::*;
|
|
||||||
pub(crate) use ::tengri::tui::*;
|
pub(crate) use ::tengri::tui::*;
|
||||||
pub(crate) use ::tengri::tui::ratatui::style::{Style, Stylize, Color};
|
|
||||||
|
|
||||||
pub use ::atomic_float; pub(crate) use atomic_float::*;
|
pub use ::atomic_float; pub(crate) use atomic_float::*;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue