Enum cpal::SampleFormat [−][src]
pub enum SampleFormat { I16, U16, F32, }
Expand description
Format that each sample has.
Variants
The value 0 corresponds to 0.
The value 0 corresponds to 32768.
The boundaries are (-1.0, 1.0).
Implementations
Returns the size in bytes of a sample of this format.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for SampleFormat
impl Send for SampleFormat
impl Sync for SampleFormat
impl Unpin for SampleFormat
impl UnwindSafe for SampleFormat
Blanket Implementations
Mutably borrows from an owned value. Read more