pub enum ChannelOrder {
Unspecified,
Native,
Custom,
Ambisonic,
}
Expand description
Specifies an order for audio channels.
Variants§
Unspecified
No channel order. Only the channel count is specified.
Native
Native channel order, i.e. the channels are in the same order in which they
are defined in the Channel
enum. This supports up to 63 channels.
Custom
The channel order does not correspond to any predefined order and is stored as an explicit map. This can be used to support layouts with more than 64 channels or with empty channels at arbitrary positions.
Ambisonic
The audio is represented as the decomposition of the sound field into spherical harmonics.
Trait Implementations§
Source§impl Clone for ChannelOrder
impl Clone for ChannelOrder
Source§fn clone(&self) -> ChannelOrder
fn clone(&self) -> ChannelOrder
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 ChannelOrder
impl Debug for ChannelOrder
Source§impl From<AVChannelOrder> for ChannelOrder
impl From<AVChannelOrder> for ChannelOrder
Source§fn from(value: AVChannelOrder) -> Self
fn from(value: AVChannelOrder) -> Self
Converts to this type from the input type.
Source§impl From<ChannelOrder> for AVChannelOrder
impl From<ChannelOrder> for AVChannelOrder
Source§fn from(value: ChannelOrder) -> Self
fn from(value: ChannelOrder) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ChannelOrder
impl PartialEq for ChannelOrder
impl Copy for ChannelOrder
impl Eq for ChannelOrder
impl StructuralPartialEq for ChannelOrder
Auto Trait Implementations§
impl Freeze for ChannelOrder
impl RefUnwindSafe for ChannelOrder
impl Send for ChannelOrder
impl Sync for ChannelOrder
impl Unpin for ChannelOrder
impl UnwindSafe for ChannelOrder
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