maolan_engine/plugins/vst3/
mod.rs1pub mod host;
2pub mod interfaces;
3pub mod midi;
4pub mod port;
5pub mod processor;
6pub mod state;
7
8pub use host::{Vst3Host, Vst3PluginInfo};
10pub use midi::EventBuffer;
11pub use port::{BusInfo, PortBinding};
12pub use processor::Vst3Processor;
13pub use state::{MemoryStream, Vst3PluginState, ibstream_ptr};
14
15pub use processor::list_plugins;
17
18#[cfg(any(target_os = "macos", target_os = "linux", target_os = "freebsd"))]
20use crate::plugins::paths;
21use std::path::PathBuf;
22
23pub fn default_vst3_search_roots() -> Vec<PathBuf> {
24 let mut roots = Vec::new();
25
26 #[cfg(target_os = "macos")]
27 {
28 paths::push_macos_audio_plugin_roots(&mut roots, "VST3");
29 }
30
31 #[cfg(any(target_os = "linux", target_os = "freebsd"))]
32 {
33 paths::push_unix_plugin_roots(&mut roots, "vst3");
34 }
35
36 roots
37}