Trait cpal::Sample
[−]
[src]
pub unsafe trait Sample: Copy + Clone { fn get_format() -> SampleFormat; }
Trait for containers that contain PCM data.
Required Methods
fn get_format() -> SampleFormat
Returns the SampleFormat
corresponding to this data type.