pub enum ChannelConfig {
Parallel,
Explicit,
}Expand description
Describes how a block handles multi-channel audio.
Most blocks process channels independently (Parallel), while some blocks like panners and mixers need explicit control over channel routing (Explicit).
Variants§
Parallel
Process each channel independently.
The block receives the same number of inputs and outputs, and each channel is processed through the same algorithm. This is the default for most effect blocks (filters, gain, distortion).
Explicit
Block handles channel routing internally.
The block may have different input and output channel counts and implements its own routing logic. Used for panners, mixers, and channel splitters/mergers.
Trait Implementations§
Source§impl Clone for ChannelConfig
impl Clone for ChannelConfig
Source§fn clone(&self) -> ChannelConfig
fn clone(&self) -> ChannelConfig
Returns a duplicate of the value. Read more
1.0.0 · 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 ChannelConfig
impl Debug for ChannelConfig
Source§impl Default for ChannelConfig
impl Default for ChannelConfig
Source§fn default() -> ChannelConfig
fn default() -> ChannelConfig
Returns the “default value” for a type. Read more
Source§impl PartialEq for ChannelConfig
impl PartialEq for ChannelConfig
impl Copy for ChannelConfig
impl Eq for ChannelConfig
impl StructuralPartialEq for ChannelConfig
Auto Trait Implementations§
impl Freeze for ChannelConfig
impl RefUnwindSafe for ChannelConfig
impl Send for ChannelConfig
impl Sync for ChannelConfig
impl Unpin for ChannelConfig
impl UnwindSafe for ChannelConfig
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