Enum cubeb_core::ChannelLayout
[−]
[src]
#[repr(u32)]pub enum ChannelLayout { Undefined, DualMono, DualMonoLfe, Mono, MonoLfe, Stereo, StereoLfe, Layout3F, Layout3FLfe, Layout2F1, Layout2F1Lfe, Layout3F1, Layout3F1Lfe, Layout2F2, Layout2F2Lfe, Layout3F2, Layout3F2Lfe, Layout3F3RLfe, Layout3F4Lfe, }
SMPTE channel layout (also known as wave order)
Name | Channels
DUAL-MONO | L R DUAL-MONO-LFE | L R LFE MONO | M MONO-LFE | M LFE STEREO | L R STEREO-LFE | L R LFE 3F | L R C 3F-LFE | L R C LFE 2F1 | L R S 2F1-LFE | L R LFE S 3F1 | L R C S 3F1-LFE | L R C LFE S 2F2 | L R LS RS 2F2-LFE | L R LFE LS RS 3F2 | L R C LS RS 3F2-LFE | L R C LFE LS RS 3F3R-LFE | L R C LFE RC LS RS
3F4-LFE | L R C LFE RLS RRS LS RS
The abbreviation of channel name is defined in following table:
Abbr | Channel name
M | Mono L | Left R | Right C | Center LS | Left Surround RS | Right Surround RLS | Rear Left Surround RC | Rear Center RRS | Rear Right Surround
LFE | Low Frequency Effects
Variants
UndefinedDualMonoDualMonoLfeMonoMonoLfeStereoStereoLfeLayout3FLayout3FLfeLayout2F1Layout2F1LfeLayout3F1Layout3F1LfeLayout2F2Layout2F2LfeLayout3F2Layout3F2LfeLayout3F3RLfeLayout3F4Lfe
Trait Implementations
impl Clone for ChannelLayout[src]
fn clone(&self) -> ChannelLayout[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more
impl Copy for ChannelLayout[src]
impl Debug for ChannelLayout[src]
impl Eq for ChannelLayout[src]
impl PartialEq for ChannelLayout[src]
fn eq(&self, __arg_0: &ChannelLayout) -> bool[src]
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Rhs) -> bool1.0.0[src]
This method tests for !=.
impl From<cubeb_channel_layout> for ChannelLayout[src]
fn from(x: cubeb_channel_layout) -> ChannelLayout[src]
Performs the conversion.
impl Into<cubeb_channel_layout> for ChannelLayout[src]
fn into(self) -> cubeb_channel_layout[src]
Performs the conversion.