pub enum AudioChannels {
Mono = 1,
Stereo = 2,
Surround = 5,
}Expand description
Mono, Stereo or Surround.
Variants§
Mono = 1
Mono = 1 channel (front center)
Stereo = 2
Stereo = 2 channels (front left, front right)
Surround = 5
Surround = 5 channels (front left, front right, front center, back left, back right)
Trait Implementations§
Source§impl Default for AudioChannels
impl Default for AudioChannels
Source§fn default() -> AudioChannels
fn default() -> AudioChannels
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for AudioChannels
impl RefUnwindSafe for AudioChannels
impl Send for AudioChannels
impl Sync for AudioChannels
impl Unpin for AudioChannels
impl UnwindSafe for AudioChannels
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