pub struct FormerMeterState {
pub analog_inputs: Vec<i32>,
pub spdif_inputs: Vec<i32>,
pub adat_inputs: Vec<i32>,
pub stream_inputs: Vec<i32>,
pub analog_outputs: Vec<i32>,
pub spdif_outputs: Vec<i32>,
pub adat_outputs: Vec<i32>,
}Expand description
State of hardware meter.
Each value of 32 bit integer is between 0x00000000 and 0x7fffff00 to represent -90.03 and 0.00 dB. When reaching saturation, 1 byte in LSB side represent ratio of overload.
Fields§
§analog_inputs: Vec<i32>The detected levels for analog (line and microphone) inputs.
spdif_inputs: Vec<i32>The detected levels for S/PDIF inputs.
adat_inputs: Vec<i32>The detected levels for ADAT inputs.
stream_inputs: Vec<i32>The detected levels for stream inputs.
analog_outputs: Vec<i32>The detected levels for analog outputs.
spdif_outputs: Vec<i32>The detected levels for S/PDIF outputs.
adat_outputs: Vec<i32>The detected levels for ADAT outputs.
Trait Implementations§
Source§impl Clone for FormerMeterState
impl Clone for FormerMeterState
Source§fn clone(&self) -> FormerMeterState
fn clone(&self) -> FormerMeterState
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 FormerMeterState
impl Debug for FormerMeterState
Source§impl Default for FormerMeterState
impl Default for FormerMeterState
Source§fn default() -> FormerMeterState
fn default() -> FormerMeterState
Returns the “default value” for a type. Read more
Source§impl PartialEq for FormerMeterState
impl PartialEq for FormerMeterState
impl Eq for FormerMeterState
impl StructuralPartialEq for FormerMeterState
Auto Trait Implementations§
impl Freeze for FormerMeterState
impl RefUnwindSafe for FormerMeterState
impl Send for FormerMeterState
impl Sync for FormerMeterState
impl Unpin for FormerMeterState
impl UnwindSafe for FormerMeterState
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> RmeFfCacheableParamsOperation<FormerMeterState> for O
impl<O> RmeFfCacheableParamsOperation<FormerMeterState> for O
Source§fn cache_wholly(
req: &mut FwReq,
node: &mut FwNode,
params: &mut FormerMeterState,
timeout_ms: u32,
) -> Result<(), Error>
fn cache_wholly( req: &mut FwReq, node: &mut FwNode, params: &mut FormerMeterState, timeout_ms: u32, ) -> Result<(), Error>
Cache whole parameters from registers.
Source§impl<O> RmeFfOffsetParamsDeserialize<FormerMeterState> for Owhere
O: RmeFfFormerMeterSpecification,
impl<O> RmeFfOffsetParamsDeserialize<FormerMeterState> for Owhere
O: RmeFfFormerMeterSpecification,
Source§fn deserialize_offsets(params: &mut FormerMeterState, raw: &[u8])
fn deserialize_offsets(params: &mut FormerMeterState, raw: &[u8])
Deserialize parameters into raw data.
Source§impl<O> RmeFfOffsetParamsSerialize<FormerMeterState> for Owhere
O: RmeFfFormerSpecification,
impl<O> RmeFfOffsetParamsSerialize<FormerMeterState> for Owhere
O: RmeFfFormerSpecification,
Source§fn serialize_offsets(params: &FormerMeterState) -> Vec<u8> ⓘ
fn serialize_offsets(params: &FormerMeterState) -> Vec<u8> ⓘ
Serialize parameters from raw data.