Enum rfmod::SpeakerMode
[−]
[src]
#[repr(C)]pub enum SpeakerMode { Raw, Mono, Stereo, Quad, Surround, _5Point1, _7Point1, SRS5_1_Matrix, DOLBY5_1_Matrix, MYears, Max, ForceInt, }
These are speaker types defined for use with the
Sys::set_speaker_mode
or
Sys::get_speaker_mode
command.
Variants
Raw
There is no specific . Sound channels are mapped in order of input to output. Use
Sys::set_software_format
to specify
speaker count. See remarks for more information.
Mono
The speakers are monaural.
Stereo
The speakers are stereo (DEFAULT).
Quad
4 speaker setup. This includes front left, front right, rear left, rear right.
Surround
5 speaker setup. This includes front left, front right, center, rear left, rear right.
_5Point1
5.1 speaker setup. This includes front left, front right, center, rear left, rear right and a subwoofer.
_7Point1
7.1 speaker setup. This includes front left, front right, center, rear left, rear right, side left, side right and a subwoofer.
SRS5_1_Matrix
Stereo compatible output, embedded with surround information. SRS 5.1/Prologic/Prologic2 decoders will split the signal into a 5.1 speaker set-up or SRS virtual surround will decode into a 2-speaker/headphone setup. See remarks about limitations.
DOLBY5_1_Matrix
Stereo compatible output, embedded with surround information. Dolby Pro Logic II decoders will split the signal into a 5.1 speaker set-up.
MYears
Stereo output, but data is encoded using personalized HRTF algorithms. See myears.net.au
Max
Maximum number of speaker modes supported.
ForceInt
Makes sure this enum is signed 32bit.
Trait Implementations
impl Clone for SpeakerMode
[src]
fn clone(&self) -> SpeakerMode
[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 PartialEq for SpeakerMode
[src]
fn eq(&self, __arg_0: &SpeakerMode) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
This method tests for !=
.
impl PartialOrd for SpeakerMode
[src]
fn partial_cmp(&self, __arg_0: &SpeakerMode) -> Option<Ordering>
[src]
This method returns an ordering between self
and other
values if one exists. Read more
fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
This method tests less than (for self
and other
) and is used by the <
operator. Read more
fn le(&self, other: &Rhs) -> bool
1.0.0[src]
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
This method tests greater than or equal to (for self
and other
) and is used by the >=
operator. Read more