Enum sdl2::audio::AudioFormat [] [src]

#[repr(i32)]
pub enum AudioFormat { U8, S8, U16LSB, U16MSB, S16LSB, S16MSB, S32LSB, S32MSB, F32LSB, F32MSB, }

Variants

Unsigned 8-bit samples

Signed 8-bit samples

Unsigned 16-bit samples, little-endian

Unsigned 16-bit samples, big-endian

Signed 16-bit samples, little-endian

Signed 16-bit samples, big-endian

Signed 32-bit samples, little-endian

Signed 32-bit samples, big-endian

32-bit floating point samples, little-endian

32-bit floating point samples, big-endian

Methods

impl AudioFormat
[src]

Unsigned 16-bit samples, native endian

Signed 16-bit samples, native endian

Signed 32-bit samples, native endian

32-bit floating point samples, native endian

Trait Implementations

impl Copy for AudioFormat
[src]

impl Clone for AudioFormat
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Eq for AudioFormat
[src]

impl PartialEq for AudioFormat
[src]

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

This method tests for !=.

impl Debug for AudioFormat
[src]

Formats the value using the given formatter.

impl Hash for AudioFormat
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more