#[repr(C)]pub enum VSAudioChannels {
Show 25 variants
FrontLeft = 0,
FrontRight = 1,
FrontCenter = 2,
LowFrequency = 3,
BackLeft = 4,
BackRight = 5,
FrontLeftOFCenter = 6,
FrontRightOFCenter = 7,
BackCenter = 8,
SideLeft = 9,
SideRight = 10,
TopCenter = 11,
TopFrontLeft = 12,
TopFrontCenter = 13,
TopFrontRight = 14,
TopBackLeft = 15,
TopBackCenter = 16,
TopBackRight = 17,
StereoLeft = 29,
StereoRight = 30,
WideLeft = 31,
WideRight = 32,
SurroundDirectLeft = 33,
SurroundDirectRight = 34,
LowFrequency2 = 35,
}
Expand description
Audio channel positions as an enum. Mirrors the FFmpeg
audio channel constants
in older api versions.
Variants§
FrontLeft = 0
FrontRight = 1
FrontCenter = 2
LowFrequency = 3
BackLeft = 4
BackRight = 5
FrontLeftOFCenter = 6
FrontRightOFCenter = 7
BackCenter = 8
SideLeft = 9
SideRight = 10
TopCenter = 11
TopFrontLeft = 12
TopFrontCenter = 13
TopFrontRight = 14
TopBackLeft = 15
TopBackCenter = 16
TopBackRight = 17
StereoLeft = 29
StereoRight = 30
WideLeft = 31
WideRight = 32
SurroundDirectLeft = 33
SurroundDirectRight = 34
LowFrequency2 = 35
Trait Implementations§
Source§impl Clone for VSAudioChannels
impl Clone for VSAudioChannels
Source§fn clone(&self) -> VSAudioChannels
fn clone(&self) -> VSAudioChannels
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 VSAudioChannels
impl Debug for VSAudioChannels
Source§impl Hash for VSAudioChannels
impl Hash for VSAudioChannels
Source§impl Ord for VSAudioChannels
impl Ord for VSAudioChannels
Source§fn cmp(&self, other: &VSAudioChannels) -> Ordering
fn cmp(&self, other: &VSAudioChannels) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for VSAudioChannels
impl PartialEq for VSAudioChannels
Source§impl PartialOrd for VSAudioChannels
impl PartialOrd for VSAudioChannels
impl Copy for VSAudioChannels
impl Eq for VSAudioChannels
impl StructuralPartialEq for VSAudioChannels
Auto Trait Implementations§
impl Freeze for VSAudioChannels
impl RefUnwindSafe for VSAudioChannels
impl Send for VSAudioChannels
impl Sync for VSAudioChannels
impl Unpin for VSAudioChannels
impl UnwindSafe for VSAudioChannels
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