pub struct DesktopMixerState {
pub mic_inst_level: [i32; 2],
pub mic_inst_pan: [i32; 2],
pub mic_inst_send: [i32; 2],
pub dual_inst_level: [i32; 2],
pub dual_inst_pan: [i32; 2],
pub dual_inst_send: [i32; 2],
pub stereo_in_level: i32,
pub stereo_in_pan: i32,
pub stereo_in_send: i32,
pub hp_src: DesktopHpSrc,
}Expand description
State of mixer.
Fields§
§mic_inst_level: [i32; 2]The input level of microphone 1 and phone 1 for instrument, between -1000 and 0 (-94.0 and 0.0 dB)
mic_inst_pan: [i32; 2]The LR balance of microphone 1 and phone 1 for instrument, between -50 and 50.
mic_inst_send: [i32; 2]The level to send from microphone 1 and phone 1 for instrument, between -1000 and 0 (-94.0 and 0.0 dB)
dual_inst_level: [i32; 2]The input level of both phone 1 and 2 for instrument, between -1000 and 0 (-94.0 and 0.0 dB)
dual_inst_pan: [i32; 2]The LR balance of both phone 1 and 2 for instrument, between -50 and 50.
dual_inst_send: [i32; 2]The level to send from both phone 1 and 2 for instrument, between -1000 and 0 (-94.0 and 0.0 dB)
stereo_in_level: i32The input level of both phone 1 and 2 for line, between -1000 and 0 (-94.0 and 0.0 dB)
stereo_in_pan: i32The LR balance of both phone 1 and 2 for line, between -50 and 50.
stereo_in_send: i32The level to send of both phone 1 and 2 for line, between -1000 and 0 (-94.0 and 0.0 dB)
hp_src: DesktopHpSrcThe source of headphone output.
Trait Implementations§
source§impl Clone for DesktopMixerState
impl Clone for DesktopMixerState
source§fn clone(&self) -> DesktopMixerState
fn clone(&self) -> DesktopMixerState
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for DesktopMixerState
impl Debug for DesktopMixerState
source§impl Default for DesktopMixerState
impl Default for DesktopMixerState
source§fn default() -> DesktopMixerState
fn default() -> DesktopMixerState
source§impl PartialEq for DesktopMixerState
impl PartialEq for DesktopMixerState
source§fn eq(&self, other: &DesktopMixerState) -> bool
fn eq(&self, other: &DesktopMixerState) -> bool
self and other values to be equal, and is used
by ==.