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

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

impl Clone for SpeakerMode
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl PartialEq for SpeakerMode
[src]

[src]

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

1.0.0
[src]

This method tests for !=.

impl PartialOrd for SpeakerMode
[src]

[src]

This method returns an ordering between self and other values if one exists. Read more

1.0.0
[src]

This method tests less than (for self and other) and is used by the < operator. Read more

1.0.0
[src]

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

1.0.0
[src]

This method tests greater than (for self and other) and is used by the > operator. Read more

1.0.0
[src]

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

impl Debug for SpeakerMode
[src]

[src]

Formats the value using the given formatter. Read more

impl Copy for SpeakerMode
[src]

Auto Trait Implementations

impl Send for SpeakerMode

impl Sync for SpeakerMode