Enum web_audio_api::node::ChannelCountMode
source · pub enum ChannelCountMode {
Max,
ClampedMax,
Explicit,
}
Expand description
How channels must be matched between the node’s inputs and outputs.
Variants§
Max
computedNumberOfChannels
is the maximum of the number of channels of all connections to an
input. In this mode channelCount is ignored.
ClampedMax
computedNumberOfChannels
is determined as for “max” and then clamped to a maximum value of
the given channelCount.
Explicit
computedNumberOfChannels
is the exact value as specified by the channelCount.
Trait Implementations§
source§impl Clone for ChannelCountMode
impl Clone for ChannelCountMode
source§fn clone(&self) -> ChannelCountMode
fn clone(&self) -> ChannelCountMode
Returns a copy 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 ChannelCountMode
impl Debug for ChannelCountMode
source§impl From<u32> for ChannelCountMode
impl From<u32> for ChannelCountMode
source§impl PartialEq<ChannelCountMode> for ChannelCountMode
impl PartialEq<ChannelCountMode> for ChannelCountMode
source§fn eq(&self, other: &ChannelCountMode) -> bool
fn eq(&self, other: &ChannelCountMode) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.