pub enum ChannelInterleavement {
LRLR,
LLRR,
}
Expand description
Describes the interleavement of audio data if it is not mono but stereo.
Variants§
LRLR
Stereo samples of one vector of audio data are alternating: left, right, left, right
LLRR
Stereo samples of one vector of audio data are ordered like: left, left, …, right, right In this case the length must be a multiple of 2.
Implementations§
Trait Implementations§
source§impl Clone for ChannelInterleavement
impl Clone for ChannelInterleavement
source§fn clone(&self) -> ChannelInterleavement
fn clone(&self) -> ChannelInterleavement
Returns a copy 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 ChannelInterleavement
impl Debug for ChannelInterleavement
impl Copy for ChannelInterleavement
Auto Trait Implementations§
impl RefUnwindSafe for ChannelInterleavement
impl Send for ChannelInterleavement
impl Sync for ChannelInterleavement
impl Unpin for ChannelInterleavement
impl UnwindSafe for ChannelInterleavement
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