1
0
Fork 0

Add missing conditions related to the "vst3" feature

This commit is contained in:
Viktor Lazarerv 2023-02-12 16:30:52 +01:00
parent 3e4aec4dfe
commit 5a08c27437
2 changed files with 6 additions and 1 deletions

View file

@ -12,6 +12,7 @@ use crate::midi::MidiConfig;
use crate::params::Params;
use crate::wrapper::clap::features::ClapFeature;
use crate::wrapper::state::PluginState;
#[cfg(feature = "vst3")]
pub use crate::wrapper::vst3::subcategories::Vst3SubCategory;
/// A function that can execute a plugin's [`BackgroundTask`][Plugin::BackgroundTask]s. A plugin can
@ -244,6 +245,7 @@ pub trait ClapPlugin: Plugin {
}
/// Provides auxiliary metadata needed for a VST3 plugin.
#[cfg(feature = "vst3")]
pub trait Vst3Plugin: Plugin {
/// The unique class ID that identifies this particular plugin. You can use the
/// `*b"fooofooofooofooo"` syntax for this.

View file

@ -24,10 +24,13 @@ pub use crate::params::range::{FloatRange, IntRange};
pub use crate::params::smoothing::{Smoothable, Smoother, SmoothingStyle};
pub use crate::params::Params;
pub use crate::params::{BoolParam, FloatParam, IntParam, Param, ParamFlags};
#[cfg(feature = "vst3")]
pub use crate::plugin::Vst3Plugin;
pub use crate::plugin::{
AuxiliaryBuffers, AuxiliaryIOConfig, BufferConfig, BusConfig, ClapPlugin, Plugin,
PolyModulationConfig, PortNames, ProcessMode, ProcessStatus, TaskExecutor, Vst3Plugin,
PolyModulationConfig, PortNames, ProcessMode, ProcessStatus, TaskExecutor,
};
pub use crate::wrapper::clap::features::ClapFeature;
pub use crate::wrapper::state::PluginState;
#[cfg(feature = "vst3")]
pub use crate::wrapper::vst3::subcategories::Vst3SubCategory;