pub struct IofwMeterParams {
pub analog_inputs: Vec<i16>,
pub stream_inputs: [i16; 8],
pub digital_a_inputs: [i16; 8],
pub digital_b_inputs: Vec<i16>,
pub mixer_outputs: [i16; 8],
}
Expand description
For hardware meters, between 0..0x7fff (-90.0..0.0 dB).
Fields§
§analog_inputs: Vec<i16>
Detected levels for analog inputs.
stream_inputs: [i16; 8]
Detected levels for stream inputs.
digital_a_inputs: [i16; 8]
Detected levels for digital A inputs.
digital_b_inputs: Vec<i16>
Detected levels for digital B inputs.
mixer_outputs: [i16; 8]
Detected levels for mixer outputs.
Trait Implementations§
Source§impl Clone for IofwMeterParams
impl Clone for IofwMeterParams
Source§fn clone(&self) -> IofwMeterParams
fn clone(&self) -> IofwMeterParams
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 IofwMeterParams
impl Debug for IofwMeterParams
Source§impl Default for IofwMeterParams
impl Default for IofwMeterParams
Source§fn default() -> IofwMeterParams
fn default() -> IofwMeterParams
Returns the “default value” for a type. Read more
Source§impl PartialEq for IofwMeterParams
impl PartialEq for IofwMeterParams
impl Eq for IofwMeterParams
impl StructuralPartialEq for IofwMeterParams
Auto Trait Implementations§
impl Freeze for IofwMeterParams
impl RefUnwindSafe for IofwMeterParams
impl Send for IofwMeterParams
impl Sync for IofwMeterParams
impl Unpin for IofwMeterParams
impl UnwindSafe for IofwMeterParams
Blanket Implementations§
Source§impl<O> AlesisParametersSerdes<IofwMeterParams> for Owhere
O: IofwMeterSpecification,
impl<O> AlesisParametersSerdes<IofwMeterParams> for Owhere
O: IofwMeterSpecification,
Source§const OFFSET_RANGES: &'static [Range<usize>] = const OFFSET_RANGES: &'static [Range<usize>] =
&[Range { start: METER_OFFSET, end: METER_OFFSET + METER_SIZE }];
const OFFSET_RANGES: &'static [Range<usize>] = const OFFSET_RANGES: &'static [Range<usize>] = &[Range { start: METER_OFFSET, end: METER_OFFSET + METER_SIZE }];
The range of offset for parameters.
Source§fn serialize_params(
params: &IofwMeterParams,
raw: &mut [u8],
) -> Result<(), String>
fn serialize_params( params: &IofwMeterParams, raw: &mut [u8], ) -> Result<(), String>
Serialize parameters to raw layout of data.
Source§fn deserialize_params(
params: &mut IofwMeterParams,
raw: &[u8],
) -> Result<(), String>
fn deserialize_params( params: &mut IofwMeterParams, raw: &[u8], ) -> Result<(), String>
Deserialize parameters from raw layout of data.
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