#[repr(C)]pub enum Speaker {
FrontLeft = 0,
FrontRight = 1,
FrontCenter = 2,
LowFrequency = 3,
BackLeft = 4,
BackRight = 5,
SideLeft = 6,
SideRight = 7,
Max = 8,
Null = 65_535,
ForceInt = 65_536,
}
Expand description
These are speaker types defined for use with the
Channel::set_speaker_level
command. It
can also be used for speaker placement in the
Sys::set_3D_speaker_position
command.
Variants§
FrontLeft = 0
FrontRight = 1
FrontCenter = 2
LowFrequency = 3
BackLeft = 4
BackRight = 5
SideLeft = 6
SideRight = 7
Max = 8
Maximum number of speaker types supported.
Null = 65_535
A non speaker. Use this with ASIO mapping to ignore a speaker.
ForceInt = 65_536
Makes sure this enum is signed 32bit.
Trait Implementations§
Source§impl PartialOrd for Speaker
impl PartialOrd for Speaker
impl Copy for Speaker
impl StructuralPartialEq for Speaker
Auto Trait Implementations§
impl Freeze for Speaker
impl RefUnwindSafe for Speaker
impl Send for Speaker
impl Sync for Speaker
impl Unpin for Speaker
impl UnwindSafe for Speaker
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