AudioChannelPosition

Enum AudioChannelPosition 

Source
#[repr(u8)]
pub enum AudioChannelPosition {
Show 42 variants FrontLeft = 0, FrontRight = 1, FrontCenter = 2, Lfe1 = 3, LeftSurround = 4, RightSurround = 5, FrontLeftOfCenter = 6, FrontRightOfCenter = 7, RearLeft = 8, RearRight = 9, RearCenter = 10, SurroundLeft = 11, SurroundRight = 12, SideLeft = 13, SideRight = 14, FrontLeftWide = 15, FrontRightWide = 16, TopFrontLeft = 17, TopFrontRight = 18, TopFrontCenter = 19, TopRearLeft = 20, TopRearRight = 21, TopRearCenter = 22, TopSideLeft = 23, TopSideRight = 24, TopCenter = 25, Lfe2 = 26, BottomFrontLeft = 27, BottomFrontRight = 28, BottomFrontCenter = 29, TopSurroundLeft = 30, TopSurroundRight = 31, Lfe3 = 36, Leos = 37, Reos = 38, Hwbcal = 39, Hwbcar = 40, Lbs = 41, Rbs = 42, LeftEar = 43, RightEar = 44, Unknown = 127,
}
Expand description

ISO/IEC 23091-3 Audio Channel Position

Consistent with ISO/IEC 23091-3:2018/Amd. 1:2022(E) Table 2 changes.

Variants§

§

FrontLeft = 0

Front left (L).

§

FrontRight = 1

Front right (R).

§

FrontCenter = 2

Centre front (C).

§

Lfe1 = 3

Low frequency enhancement (LFE).

§

LeftSurround = 4

Left surround (Ls).

§

RightSurround = 5

Right surround (Rs).

§

FrontLeftOfCenter = 6

Left front centre (Lc).

§

FrontRightOfCenter = 7

Right front centre (Rc).

§

RearLeft = 8

Rear surround left (Lsr).

§

RearRight = 9

Rear surround right (Rsr).

§

RearCenter = 10

Rear centre (Cs).

§

SurroundLeft = 11

Left surround direct (Lsd).

§

SurroundRight = 12

Right surround direct (Rsd).

§

SideLeft = 13

Left side surround (Lss).

§

SideRight = 14

Right side surround (Rss).

§

FrontLeftWide = 15

Left wide front (Lw).

§

FrontRightWide = 16

Right wide front (Rw).

§

TopFrontLeft = 17

Left front vertical height (Lv).

§

TopFrontRight = 18

Right front vertical height (Rv).

§

TopFrontCenter = 19

Centre front vertical height (Cv).

§

TopRearLeft = 20

Left surround vertical height rear (Lvr).

§

TopRearRight = 21

Right surround vertical height rear (Rvr).

§

TopRearCenter = 22

Centre vertical height rear (Cvr).

§

TopSideLeft = 23

Left vertical height side surround (Lvss).

§

TopSideRight = 24

Right vertical height side surround (Rvss).

§

TopCenter = 25

Top centre surround (Ts).

§

Lfe2 = 26

Low frequency enhancement 2 (LFE2).

§

BottomFrontLeft = 27

Left front vertical bottom (Lb).

§

BottomFrontRight = 28

Right front vertical bottom (Rb).

§

BottomFrontCenter = 29

Centre front vertical bottom (Cb).

§

TopSurroundLeft = 30

Left vertical height surround (Lvs).

§

TopSurroundRight = 31

Right vertical height surround (Rvs).

§

Lfe3 = 36

Low frequency enhancement 3 (LFE3).

§

Leos = 37

Left edge of screen (Leos).

§

Reos = 38

Right edge of screen (Reos).

§

Hwbcal = 39

Half-way between centre of screen and left edge of screen (Hwbcal).

§

Hwbcar = 40

Half-way between centre of screen and right edge of screen (Hwbcar).

§

Lbs = 41

Left back surround (Lbs).

§

Rbs = 42

Right back surround (Rbs).

§

LeftEar = 43

Left ear (Lear).

Audio signals associated with this loudspeaker position are intended for stereo headphone playback only. They can be unsuitable for loudspeaker playback. This loudspeaker position is applicable for binaural signals but it shall not be applied for traditional stereo signals.

§

RightEar = 44

Right ear (Rear).

Audio signals associated with this loudspeaker position are intended for stereo headphone playback only. They can be unsuitable for loudspeaker playback. This loudspeaker position is applicable for binaural signals but it shall not be applied for traditional stereo signals.

§

Unknown = 127

Unknown/undefined position (unpositioned).

Implementations§

Trait Implementations§

Source§

impl Clone for AudioChannelPosition

Source§

fn clone(&self) -> AudioChannelPosition

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for AudioChannelPosition

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl PartialEq for AudioChannelPosition

Source§

fn eq(&self, other: &AudioChannelPosition) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl Copy for AudioChannelPosition

Source§

impl Eq for AudioChannelPosition

Source§

impl StructuralPartialEq for AudioChannelPosition

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> WithSubscriber for T

Source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more