Enum hound::SampleFormat [] [src]

pub enum SampleFormat {
    Float,
    Int,
}

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

Variants

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].

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

Trait Implementations

impl Clone for SampleFormat
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for SampleFormat
[src]

impl Debug for SampleFormat
[src]

[src]

Formats the value using the given formatter. Read more

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

Auto Trait Implementations

impl Send for SampleFormat

impl Sync for SampleFormat