pub enum AudioSampleFormat {
S16,
S32,
F32,
F64,
S16P,
S32P,
F32P,
}Expand description
Sample format for audio frames.
Variants§
S16
Signed 16-bit integer, interleaved.
S32
Signed 32-bit integer, interleaved.
F32
32-bit float, interleaved.
F64
64-bit float, interleaved.
S16P
Signed 16-bit integer, planar.
S32P
Signed 32-bit integer, planar.
F32P
32-bit float, planar.
Implementations§
Trait Implementations§
Source§impl Clone for AudioSampleFormat
impl Clone for AudioSampleFormat
Source§fn clone(&self) -> AudioSampleFormat
fn clone(&self) -> AudioSampleFormat
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AudioSampleFormat
impl Debug for AudioSampleFormat
Source§impl Hash for AudioSampleFormat
impl Hash for AudioSampleFormat
Source§impl PartialEq for AudioSampleFormat
impl PartialEq for AudioSampleFormat
impl Copy for AudioSampleFormat
impl Eq for AudioSampleFormat
impl StructuralPartialEq for AudioSampleFormat
Auto Trait Implementations§
impl Freeze for AudioSampleFormat
impl RefUnwindSafe for AudioSampleFormat
impl Send for AudioSampleFormat
impl Sync for AudioSampleFormat
impl Unpin for AudioSampleFormat
impl UnsafeUnpin for AudioSampleFormat
impl UnwindSafe for AudioSampleFormat
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more