Enum rfmod::SoundFormat [] [src]

#[repr(C)]
pub enum SoundFormat { None, PCM8, PCM16, PCM24, PCM32, PCMFloat, GCADPCM, IMAADPCM, VAG, HEVAG, XMA, MPEG, CELT, AT9, XWMA, VORBIS, Max, ForceInt, }

These definitions describe the native format of the hardware or software buffer that will be used.

Variants

Uninitialized / unknown.

8bit integer PCM data.

16bit integer PCM data.

24bit integer PCM data.

32bit integer PCM data.

32bit floating point PCM data.

Compressed Nintendo 3DS/Wii DSP data.

Compressed IMA ADPCM data.

Compressed PlayStation Portable ADPCM data.

Compressed PSVita ADPCM data.

Compressed Xbox360 XMA data.

Compressed MPEG layer 2 or 3 data.

Compressed CELT data.

Compressed PSVita ATRAC9 data.

Compressed Xbox360 xWMA data.

Compressed Vorbis data.

Maximum number of sound formats supported.

Makes sure this enum is signed 32bit.

Trait Implementations

impl Clone for SoundFormat
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl PartialEq for SoundFormat
[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 SoundFormat
[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 SoundFormat
[src]

[src]

Formats the value using the given formatter. Read more

impl Copy for SoundFormat
[src]

Auto Trait Implementations

impl Send for SoundFormat

impl Sync for SoundFormat