Struct firewire_dice_protocols::focusrite::OutGroupState
source · 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: boolWhether mute is enabled or not.
mute_hwctls: Vec<bool>Whether to control volume of each analog output by hardware mute button.
dim_enabled: boolWhether dim is enabled or not.
dim_hwctls: Vec<bool>Whether to control volume of each analog output by hardware dim button.
hw_knob_value: i8Current 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 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 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
source§fn eq(&self, other: &OutGroupState) -> bool
fn eq(&self, other: &OutGroupState) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Eq for OutGroupState
impl StructuralEq for OutGroupState
impl StructuralPartialEq for OutGroupState
Auto Trait Implementations§
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<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.