Struct Auxiliary Bus
pub struct AuxiliaryBus<'a> {
pub name: &'a str,
pub inputs: usize,
pub outputs: usize,
}Expand description
An audio bus in addition to the main bus, such as a sidechain input or an extra output of a multi-output instrument.
A bus may have inputs, outputs or both (at most 64 channels each, at least
one channel in total). An input-only bus is a sidechain: formats that
distinguish sidechains (LV2, AAX) mark it as one. The processor receives
every auxiliary bus in declaration order in ProcessBlock::auxiliary,
prepared with the same layouts through
ProcessConfig::with_auxiliary_buses. A bus the host leaves disconnected
or inactive carries silence, and its outputs are discarded.
Fields§
§name: &'a strShown by hosts: nonblank, at most MAXIMUM_BUS_NAME_BYTES, no
control characters, unique among the product’s auxiliary buses.
inputs: usize§outputs: usizeImplementations§
Trait Implementations§
§impl<'a> Clone for AuxiliaryBus<'a>
impl<'a> Clone for AuxiliaryBus<'a>
§fn clone(&self) -> AuxiliaryBus<'a>
fn clone(&self) -> AuxiliaryBus<'a>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · §fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl<'a> Copy for AuxiliaryBus<'a>
§impl<'a> Debug for AuxiliaryBus<'a>
impl<'a> Debug for AuxiliaryBus<'a>
impl<'a> Eq for AuxiliaryBus<'a>
§impl<'a> PartialEq for AuxiliaryBus<'a>
impl<'a> PartialEq for AuxiliaryBus<'a>
impl<'a> StructuralPartialEq for AuxiliaryBus<'a>
Auto Trait Implementations§
impl<'a> Freeze for AuxiliaryBus<'a>
impl<'a> RefUnwindSafe for AuxiliaryBus<'a>
impl<'a> Send for AuxiliaryBus<'a>
impl<'a> Sync for AuxiliaryBus<'a>
impl<'a> Unpin for AuxiliaryBus<'a>
impl<'a> UnsafeUnpin for AuxiliaryBus<'a>
impl<'a> UnwindSafe for AuxiliaryBus<'a>
Blanket Implementations§
impl<T> AutoreleaseSafe for T
§impl<T> BorrowMut<T> for T
impl<T> BorrowMut<T> for T
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more