Add missing conditions related to the "vst3" feature
This commit is contained in:
parent
3e4aec4dfe
commit
5a08c27437
2 changed files with 6 additions and 1 deletions
|
@ -12,6 +12,7 @@ use crate::midi::MidiConfig;
|
||||||
use crate::params::Params;
|
use crate::params::Params;
|
||||||
use crate::wrapper::clap::features::ClapFeature;
|
use crate::wrapper::clap::features::ClapFeature;
|
||||||
use crate::wrapper::state::PluginState;
|
use crate::wrapper::state::PluginState;
|
||||||
|
#[cfg(feature = "vst3")]
|
||||||
pub use crate::wrapper::vst3::subcategories::Vst3SubCategory;
|
pub use crate::wrapper::vst3::subcategories::Vst3SubCategory;
|
||||||
|
|
||||||
/// A function that can execute a plugin's [`BackgroundTask`][Plugin::BackgroundTask]s. A plugin can
|
/// 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.
|
/// Provides auxiliary metadata needed for a VST3 plugin.
|
||||||
|
#[cfg(feature = "vst3")]
|
||||||
pub trait Vst3Plugin: Plugin {
|
pub trait Vst3Plugin: Plugin {
|
||||||
/// The unique class ID that identifies this particular plugin. You can use the
|
/// The unique class ID that identifies this particular plugin. You can use the
|
||||||
/// `*b"fooofooofooofooo"` syntax for this.
|
/// `*b"fooofooofooofooo"` syntax for this.
|
||||||
|
|
|
@ -24,10 +24,13 @@ pub use crate::params::range::{FloatRange, IntRange};
|
||||||
pub use crate::params::smoothing::{Smoothable, Smoother, SmoothingStyle};
|
pub use crate::params::smoothing::{Smoothable, Smoother, SmoothingStyle};
|
||||||
pub use crate::params::Params;
|
pub use crate::params::Params;
|
||||||
pub use crate::params::{BoolParam, FloatParam, IntParam, Param, ParamFlags};
|
pub use crate::params::{BoolParam, FloatParam, IntParam, Param, ParamFlags};
|
||||||
|
#[cfg(feature = "vst3")]
|
||||||
|
pub use crate::plugin::Vst3Plugin;
|
||||||
pub use crate::plugin::{
|
pub use crate::plugin::{
|
||||||
AuxiliaryBuffers, AuxiliaryIOConfig, BufferConfig, BusConfig, ClapPlugin, 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::clap::features::ClapFeature;
|
||||||
pub use crate::wrapper::state::PluginState;
|
pub use crate::wrapper::state::PluginState;
|
||||||
|
#[cfg(feature = "vst3")]
|
||||||
pub use crate::wrapper::vst3::subcategories::Vst3SubCategory;
|
pub use crate::wrapper::vst3::subcategories::Vst3SubCategory;
|
||||||
|
|
Loading…
Add table
Reference in a new issue