pub enum ChannelType {
Show 28 variants C, L, R, Cs, Ls, Rs, Lss, Rss, LFE, Lc, Rc, Lh, Rh, Ch, LFE2, Lw, Rw, Ov, Lhs, Rhs, Chs, Ll, Rl, Cl, Lt, Rt, Lo, Ro,
}
Expand description

Known audio channel types.

Variants

C

Center front.

L

Left front.

R

Right front.

Cs

Center surround.

Ls

Left surround.

Rs

Right surround.

Lss

Left surround side.

Rss

Right surround side.

LFE

Low Frequency Effect.

Lc

Left center.

Rc

Right center.

Lh

Left height.

Rh

Right height.

Ch

Center height.

LFE2

Second Low Frequency Effect.

Lw

Left wide.

Rw

Right wide.

Ov

Overhead.

Known also as:

  • Over the listener head (Oh) in DTS specification (ETSI TS 102.114)
  • Top Center Surround (Ts) in SMPTE 428-3-2006 specification

Lhs

Left height side.

Rhs

Right height side.

Chs

Center height side.

Ll

Left in the plane lower then listener’s ears (DTS specification ETSI TS 102.114).

Rl

Right in the plane lower then listener’s ears (DTS specification ETSI TS 102.114).

Cl

Center in the plane lower then listener’s ears (DTS specification ETSI TS 102.114).

Lt

Left total (SMPTE 428-3-2006 specification).

Rt

Right total (SMPTE 428-3-2006 specification).

Lo

Left-only downmix mode (Dolby ETSI TS 102.366 specification).

Ro

Right-only downmix mode (Dolby ETSI TS 102.366 specification).

Implementations

Tells whether the channel is some center channel.

Tells whether the channel is some left channel.

Tells whether the channel is some right channel.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Formats the value using the given formatter. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

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

The resulting type after obtaining ownership.

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

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

Converts the given value to a String. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.