Struct nih_plug::plugin::clap::PolyModulationConfig
source · pub struct PolyModulationConfig {
pub max_voice_capacity: u32,
pub supports_overlapping_voices: bool,
}
Expand description
Configuration for the plugin’s polyphonic modulation options, if it supports .
Fields§
§max_voice_capacity: u32
The maximum number of voices this plugin will ever use. Call the context’s
set_current_voice_capacity()
method during initialization or audio processing to set the
polyphony limit.
supports_overlapping_voices: bool
If set to true
, then the host may send note events for the same channel and key, but using
different voice IDs. Bitwig Studio, for instance, can use this to do voice stacking. After
enabling this, you should always prioritize using voice IDs to map note events to voices.
Auto Trait Implementations§
impl RefUnwindSafe for PolyModulationConfig
impl Send for PolyModulationConfig
impl Sync for PolyModulationConfig
impl Unpin for PolyModulationConfig
impl UnwindSafe for PolyModulationConfig
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more