pub struct AudioBusBuffer {
pub active: bool,
pub channels: Vec<Vec<f32>>,
}Expand description
Sample storage for one VST3 audio bus.
Fields§
§active: boolWhether this bus was active when the buffer set was created.
Processing validates this against the plug-in’s current activation state. Recreate the buffer set after changing bus activation.
channels: Vec<Vec<f32>>Samples indexed [channel][sample]. Inactive buses retain their advertised channels so
their bus index and shape are never lost; their inputs are ignored and outputs silenced.
Implementations§
Trait Implementations§
Source§impl Clone for AudioBusBuffer
impl Clone for AudioBusBuffer
Source§fn clone(&self) -> AudioBusBuffer
fn clone(&self) -> AudioBusBuffer
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AudioBusBuffer
impl Debug for AudioBusBuffer
Source§impl<'de> Deserialize<'de> for AudioBusBuffer
impl<'de> Deserialize<'de> for AudioBusBuffer
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for AudioBusBuffer
impl PartialEq for AudioBusBuffer
Source§impl Serialize for AudioBusBuffer
impl Serialize for AudioBusBuffer
impl StructuralPartialEq for AudioBusBuffer
Auto Trait Implementations§
impl Freeze for AudioBusBuffer
impl RefUnwindSafe for AudioBusBuffer
impl Send for AudioBusBuffer
impl Sync for AudioBusBuffer
impl Unpin for AudioBusBuffer
impl UnsafeUnpin for AudioBusBuffer
impl UnwindSafe for AudioBusBuffer
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