#[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
impl Copy for VSAudioChannels
Source§impl Debug for VSAudioChannels
impl Debug for VSAudioChannels
impl Eq for VSAudioChannels
Source§impl Hash for VSAudioChannels
impl Hash for VSAudioChannels
Source§impl Ord for VSAudioChannels
impl Ord for VSAudioChannels
1.21.0 (const: unstable) · 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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for VSAudioChannels
impl PartialEq for VSAudioChannels
Source§impl PartialOrd for VSAudioChannels
impl PartialOrd for VSAudioChannels
impl StructuralPartialEq for VSAudioChannels
Auto Trait Implementations§
impl Forget for VSAudioChannels
impl Freeze for VSAudioChannels
impl Move for VSAudioChannels
impl RefUnwindSafe for VSAudioChannels
impl Send for VSAudioChannels
impl Sync for VSAudioChannels
impl Unpin for VSAudioChannels
impl UnsafeUnpin 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