pub struct DesktopHwState {
pub meter_target: MeterTarget,
pub mixer_output_monaural: bool,
pub knob_assign_to_hp: bool,
pub mixer_output_dim_enabled: bool,
pub mixer_output_dim_volume: i32,
pub input_scene: InputScene,
pub reverb_to_master: bool,
pub reverb_to_hp: bool,
pub master_knob_backlight: bool,
pub mic_0_phantom: bool,
pub mic_0_boost: bool,
}Expand description
General state of hardware.
Fields§
§meter_target: MeterTargetThe target of meter in surface.
mixer_output_monaural: boolUse mixer output as monaural.
knob_assign_to_hp: boolWhether to adjust volume of headphone output by main knob.
mixer_output_dim_enabled: boolWhether to dim main output.
mixer_output_dim_volume: i32The volume of main output if dimmed between -1000..-60. (-94.0..-6.0 dB)
input_scene: InputSceneThe use case of analog input 1/2.
reverb_to_master: boolMultiplex reverb signal to stream input 1/2 in advance.
reverb_to_hp: boolMultiplex reverb signal to stream input 3/4 in advance.
master_knob_backlight: boolTurn on backlight in master knob.
mic_0_phantom: boolPhantom powering in microphone 1.
mic_0_boost: boolSignal boost in microphone 1 by 12 dB.
Trait Implementations§
source§impl Clone for DesktopHwState
impl Clone for DesktopHwState
source§fn clone(&self) -> DesktopHwState
fn clone(&self) -> DesktopHwState
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 DesktopHwState
impl Debug for DesktopHwState
source§impl Default for DesktopHwState
impl Default for DesktopHwState
source§fn default() -> DesktopHwState
fn default() -> DesktopHwState
Returns the “default value” for a type. Read more
source§impl PartialEq for DesktopHwState
impl PartialEq for DesktopHwState
source§fn eq(&self, other: &DesktopHwState) -> bool
fn eq(&self, other: &DesktopHwState) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl TcKonnektMutableSegmentOperation<DesktopHwState> for Desktopk6Protocol
impl TcKonnektMutableSegmentOperation<DesktopHwState> for Desktopk6Protocol
source§impl TcKonnektNotifiedSegmentOperation<DesktopHwState> for Desktopk6Protocol
impl TcKonnektNotifiedSegmentOperation<DesktopHwState> for Desktopk6Protocol
const NOTIFY_FLAG: u32 = 65_536u32
source§fn is_notified_segment(_: &TcKonnektSegment<T>, msg: u32) -> bool
fn is_notified_segment(_: &TcKonnektSegment<T>, msg: u32) -> bool
Check message to be notified or not.
source§impl TcKonnektSegmentSerdes<DesktopHwState> for Desktopk6Protocol
impl TcKonnektSegmentSerdes<DesktopHwState> for Desktopk6Protocol
impl Copy for DesktopHwState
impl Eq for DesktopHwState
impl StructuralEq for DesktopHwState
impl StructuralPartialEq for DesktopHwState
Auto Trait Implementations§
impl RefUnwindSafe for DesktopHwState
impl Send for DesktopHwState
impl Sync for DesktopHwState
impl Unpin for DesktopHwState
impl UnwindSafe for DesktopHwState
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