mirror of
https://codeberg.org/unspeaker/tek.git
synced 2026-04-03 21:00:44 +02:00
28 lines
915 B
Rust
28 lines
915 B
Rust
|
|
/// A LV2 plugin.
|
|
#[derive(Debug)] #[cfg(feature = "lv2")] pub struct Lv2 {
|
|
/// JACK client handle (needs to not be dropped for standalone mode to work).
|
|
pub jack: Jack<'static>,
|
|
pub name: Arc<str>,
|
|
pub path: Option<Arc<str>>,
|
|
pub selected: usize,
|
|
pub mapping: bool,
|
|
pub midi_ins: Vec<Port<MidiIn>>,
|
|
pub midi_outs: Vec<Port<MidiOut>>,
|
|
pub audio_ins: Vec<Port<AudioIn>>,
|
|
pub audio_outs: Vec<Port<AudioOut>>,
|
|
|
|
pub lv2_world: livi::World,
|
|
pub lv2_instance: livi::Instance,
|
|
pub lv2_plugin: livi::Plugin,
|
|
pub lv2_features: Arc<livi::Features>,
|
|
pub lv2_port_list: Vec<livi::Port>,
|
|
pub lv2_input_buffer: Vec<livi::event::LV2AtomSequence>,
|
|
pub lv2_ui_thread: Option<JoinHandle<()>>,
|
|
}
|
|
|
|
/// A LV2 plugin's X11 UI.
|
|
#[cfg(feature = "lv2_gui")] pub struct LV2PluginUI {
|
|
pub window: Option<Window>
|
|
}
|
|
|