pub struct OutGroupState {
pub vols: Vec<i8>,
pub vol_mutes: Vec<bool>,
pub vol_hwctls: Vec<bool>,
pub mute_enabled: bool,
pub mute_hwctls: Vec<bool>,
pub dim_enabled: bool,
pub dim_hwctls: Vec<bool>,
pub hw_knob_value: i8,
}
Expand description
A set of entries for output control. Output volumes corresponding to the entries are controlled by single software/hardware operation if enabled.
Fields§
§vols: Vec<i8>
Volume of each analog output, between 0x00 and 0x7f.
vol_mutes: Vec<bool>
Whether to mute each analog output.
vol_hwctls: Vec<bool>
Whether to control volume of each analog output by hardware monitor
knob.
mute_enabled: bool
Whether mute is enabled or not.
mute_hwctls: Vec<bool>
Whether to control volume of each analog output by hardware mute
button.
dim_enabled: bool
Whether dim is enabled or not.
dim_hwctls: Vec<bool>
Whether to control volume of each analog output by hardware dim
button.
hw_knob_value: i8
Current value of hardware monitor
knob, supported by Liquid Saffire 56 and
Saffire Pro 40.
Trait Implementations§
Source§impl Clone for OutGroupState
impl Clone for OutGroupState
Source§fn clone(&self) -> OutGroupState
fn clone(&self) -> OutGroupState
Returns a duplicate 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 OutGroupState
impl Debug for OutGroupState
Source§impl Default for OutGroupState
impl Default for OutGroupState
Source§fn default() -> OutGroupState
fn default() -> OutGroupState
Returns the “default value” for a type. Read more
Source§impl PartialEq for OutGroupState
impl PartialEq for OutGroupState
impl Eq for OutGroupState
impl StructuralPartialEq for OutGroupState
Auto Trait Implementations§
impl Freeze for OutGroupState
impl RefUnwindSafe for OutGroupState
impl Send for OutGroupState
impl Sync for OutGroupState
impl Unpin for OutGroupState
impl UnwindSafe for OutGroupState
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<O> TcatExtensionSectionNotifiedParamsOperation<OutGroupState> for O
impl<O> TcatExtensionSectionNotifiedParamsOperation<OutGroupState> for O
Source§fn cache_extension_notified_params(
req: &FwReq,
node: &FwNode,
sections: &ExtensionSections,
caps: &ExtensionCaps,
params: &mut OutGroupState,
msg: u32,
timeout_ms: u32,
) -> Result<(), Error>
fn cache_extension_notified_params( req: &FwReq, node: &FwNode, sections: &ExtensionSections, caps: &ExtensionCaps, params: &mut OutGroupState, msg: u32, timeout_ms: u32, ) -> Result<(), Error>
Cache state of hardware for notified parameters.
Source§impl<O> TcatExtensionSectionParamsOperation<OutGroupState> for O
impl<O> TcatExtensionSectionParamsOperation<OutGroupState> for O
Source§fn cache_extension_whole_params(
req: &FwReq,
node: &FwNode,
sections: &ExtensionSections,
_: &ExtensionCaps,
params: &mut OutGroupState,
timeout_ms: u32,
) -> Result<(), Error>
fn cache_extension_whole_params( req: &FwReq, node: &FwNode, sections: &ExtensionSections, _: &ExtensionCaps, params: &mut OutGroupState, timeout_ms: u32, ) -> Result<(), Error>
Cache state of hardware for whole parameters.
Source§impl<O> TcatExtensionSectionPartialMutableParamsOperation<OutGroupState> for O
impl<O> TcatExtensionSectionPartialMutableParamsOperation<OutGroupState> for O
Source§fn update_extension_partial_params(
req: &FwReq,
node: &FwNode,
sections: &ExtensionSections,
_: &ExtensionCaps,
params: &OutGroupState,
prev: &mut OutGroupState,
timeout_ms: u32,
) -> Result<(), Error>
fn update_extension_partial_params( req: &FwReq, node: &FwNode, sections: &ExtensionSections, _: &ExtensionCaps, params: &OutGroupState, prev: &mut OutGroupState, timeout_ms: u32, ) -> Result<(), Error>
Update state of hardware for partial parameters.