Merge branch 'conditional-vst-feature' #55
Add missing conditions related to the "vst3" feature https://github.com/robbert-vdh/nih-plug/pull/56
This commit is contained in:
commit
cdeb244202
|
@ -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.
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue