Enum hound::SampleFormat [] [src]

pub enum SampleFormat {
    Float,
    Int,
}

Specifies whether a sample is stored as an "IEEE Float" or an integer.

Variants

Float

Wave files with the WAVE_FORMAT_IEEE_FLOAT format tag store samples as floating point values.

Values are normally in the range [-1.0, 1.0].

Int

Wave files with the WAVE_FORMAT_PCM format tag store samples as integer values.

Trait Implementations

impl Eq for SampleFormat
[src]

impl PartialEq for SampleFormat
[src]

fn eq(&self, __arg_0: &SampleFormat) -> bool

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

This method tests for !=.

impl Debug for SampleFormat
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl Copy for SampleFormat
[src]

impl Clone for SampleFormat
[src]

fn clone(&self) -> SampleFormat

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more