pub enum MultichannelConfigOrder {
Unspecified,
Native {
flags: u32,
},
Custom {
mapping: Vec<u8>,
},
Reserved(u8),
}Expand description
Discriminated union of the per-audioChannelOrder body shape from
ExAudioTagBody.
Variants§
Unspecified
AudioChannelOrder.Unspecified — only the channel count is
specified, no trailing per-channel data.
Native
AudioChannelOrder.Native — channels appear in the order
defined by the AudioChannel enum. The 32-bit
audioChannelFlags mask reports which of the standard channels
are present; bit positions match audio_channel_mask.
Custom
AudioChannelOrder.Custom — audioChannelMapping[channelCount]
names the speaker (an AudioChannel value) for each channel,
in stream order. Length equals
MultichannelConfig::channel_count.
Reserved(u8)
A reserved / forward-compat audioChannelOrder value the parser
did not recognise. The raw discriminator byte is preserved here
so callers can pass the message through unchanged; trailing
body bytes (if any) sit in MultichannelConfig::extra.
Implementations§
Trait Implementations§
Source§impl Clone for MultichannelConfigOrder
impl Clone for MultichannelConfigOrder
Source§fn clone(&self) -> MultichannelConfigOrder
fn clone(&self) -> MultichannelConfigOrder
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for MultichannelConfigOrder
impl Debug for MultichannelConfigOrder
impl Eq for MultichannelConfigOrder
Source§impl PartialEq for MultichannelConfigOrder
impl PartialEq for MultichannelConfigOrder
Source§fn eq(&self, other: &MultichannelConfigOrder) -> bool
fn eq(&self, other: &MultichannelConfigOrder) -> bool
self and other values to be equal, and is used by ==.