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, }
Expand description
These are speaker types defined for use with the
Sys::set_speaker_mode
or
Sys::get_speaker_mode
command.
Variants
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.
The speakers are monaural.
The speakers are stereo (DEFAULT).
4 speaker setup. This includes front left, front right, rear left, rear right.
5 speaker setup. This includes front left, front right, center, rear left, rear right.
5.1 speaker setup. This includes front left, front right, center, rear left, rear right and a subwoofer.
7.1 speaker setup. This includes front left, front right, center, rear left, rear right, side left, side right and a subwoofer.
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.
Stereo compatible output, embedded with surround information. Dolby Pro Logic II decoders will split the signal into a 5.1 speaker set-up.
Stereo output, but data is encoded using personalized HRTF algorithms. See myears.net.au
Maximum number of speaker modes supported.
Makes sure this enum is signed 32bit.
Trait Implementations
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for SpeakerMode
impl Send for SpeakerMode
impl Sync for SpeakerMode
impl Unpin for SpeakerMode
impl UnwindSafe for SpeakerMode
Blanket Implementations
Mutably borrows from an owned value. Read more