pub enum FlacAudioForm {
FrameArray,
ChannelArray,
}Expand description
§The form of audio samples
Variants§
FrameArray
- For the frame array, each audio frame is one sample per channel.
- For example, a stereo frame has two samples, one for left, and one for right.
ChannelArray
- For channel array, each element of the array is one channel of the audio.
- For example, if the audio is mono, the array only contains one element, that element is the only channel for the mono audio.
Trait Implementations§
Source§impl Clone for FlacAudioForm
impl Clone for FlacAudioForm
Source§fn clone(&self) -> FlacAudioForm
fn clone(&self) -> FlacAudioForm
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 FlacAudioForm
impl Debug for FlacAudioForm
impl Copy for FlacAudioForm
Auto Trait Implementations§
impl Freeze for FlacAudioForm
impl RefUnwindSafe for FlacAudioForm
impl Send for FlacAudioForm
impl Sync for FlacAudioForm
impl Unpin for FlacAudioForm
impl UnwindSafe for FlacAudioForm
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