Enum coreaudio::audio_unit::sample_format::SampleFormat
[−]
[src]
pub enum SampleFormat { F32, I32, I16, I8, }
Dynamic representation of audio data sample format.
Variants
F32
I32
I16
I8
Methods
impl SampleFormat
[src]
fn does_match_flags(&self, flags: LinearPCMFlags) -> bool
fn from_flags_and_bytes_per_frame(flags: LinearPCMFlags, bytes_per_frame: u32) -> Option<Self>
fn size_in_bytes(&self) -> usize
Trait Implementations
impl Eq for SampleFormat
[src]
impl PartialEq for SampleFormat
[src]
fn eq(&self, __arg_0: &SampleFormat) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0
This method tests for !=
.
impl Debug for SampleFormat
[src]
impl Clone for SampleFormat
[src]
fn clone(&self) -> SampleFormat
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more