Enum sqa_ffmpeg::SampleFormat
[−]
[src]
pub enum SampleFormat { U8(bool), S16(bool), S32(bool), Float(bool), Double(bool), }
The sample format of a stream.
Variants
U8(bool)
S16(bool)
S32(bool)
Float(bool)
Double(bool)
Methods
impl SampleFormat
[src]
fn from_ffi(fmt: i32) -> Option<Self>
fn is_planar(&self) -> bool
Ascertain whether the sample format is planar (that is, non-interleaved).
Trait Implementations
impl Copy 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