Trait alto::SampleFrame
[−]
[src]
pub unsafe trait SampleFrame: Copy { type Sample: Copy; fn len() -> usize; fn format() -> Format; }
Implemented by structs that represent a frame of audio samples. A sample frame is a grouping of audio samples from each channel of an output format.
Associated Types
Required Methods
fn len() -> usize
Length of the frame in samples.
fn format() -> Format
The exact format described by this struct.
Implementors
impl SampleFrame for alto::Mono<u8>
impl SampleFrame for alto::Mono<i16>
impl SampleFrame for alto::Mono<f32>
impl SampleFrame for alto::Mono<f64>
impl SampleFrame for alto::Mono<ALawSample>
impl SampleFrame for alto::Mono<MuLawSample>
impl SampleFrame for alto::Stereo<u8>
impl SampleFrame for alto::Stereo<i16>
impl SampleFrame for alto::Stereo<f32>
impl SampleFrame for alto::Stereo<f64>
impl SampleFrame for alto::Stereo<ALawSample>
impl SampleFrame for alto::Stereo<MuLawSample>
impl SampleFrame for alto::McRear<u8>
impl SampleFrame for alto::McRear<i16>
impl SampleFrame for alto::McRear<f32>
impl SampleFrame for alto::McRear<MuLawSample>
impl SampleFrame for alto::McQuad<u8>
impl SampleFrame for alto::McQuad<i16>
impl SampleFrame for alto::McQuad<f32>
impl SampleFrame for alto::McQuad<MuLawSample>
impl SampleFrame for alto::Mc51Chn<u8>
impl SampleFrame for alto::Mc51Chn<i16>
impl SampleFrame for alto::Mc51Chn<f32>
impl SampleFrame for alto::Mc51Chn<MuLawSample>
impl SampleFrame for alto::Mc61Chn<u8>
impl SampleFrame for alto::Mc61Chn<i16>
impl SampleFrame for alto::Mc61Chn<f32>
impl SampleFrame for alto::Mc61Chn<MuLawSample>
impl SampleFrame for alto::Mc71Chn<u8>
impl SampleFrame for alto::Mc71Chn<i16>
impl SampleFrame for alto::Mc71Chn<f32>
impl SampleFrame for alto::Mc71Chn<MuLawSample>
impl SampleFrame for alto::BFormat2D<u8>
impl SampleFrame for alto::BFormat2D<i16>
impl SampleFrame for alto::BFormat2D<f32>
impl SampleFrame for alto::BFormat2D<MuLawSample>
impl SampleFrame for alto::BFormat3D<u8>
impl SampleFrame for alto::BFormat3D<i16>
impl SampleFrame for alto::BFormat3D<f32>
impl SampleFrame for alto::BFormat3D<MuLawSample>