Trait alac::Sample [] [src]

pub trait Sample: Copy + Sealed {
    fn from_decoder(sample: i32, bits: u8) -> Self;
fn bits() -> u8; }

A type that can be used to represent audio samples.

Required Methods

Constructs Self from a right-aligned sample with bit depth bits.

Implementations on Foreign Types

impl Sample for i16
[src]

[src]

[src]

impl Sample for i32
[src]

[src]

[src]

Implementors