pub struct EnsembleMeterProtocol;
Expand description
The protocol implementation for meter information.
Implementations§
Source§impl EnsembleMeterProtocol
Protocol implementation for hardware metering.
impl EnsembleMeterProtocol
Protocol implementation for hardware metering.
Sourcepub const OUT_KNOB_VAL_MIN: u8 = 0u8
pub const OUT_KNOB_VAL_MIN: u8 = 0u8
The minimum value of hardware output knob.
Sourcepub const OUT_KNOB_VAL_MAX: u8 = 127u8
pub const OUT_KNOB_VAL_MAX: u8 = 127u8
The maximum value of hardware output knob.
Sourcepub const OUT_KNOB_VAL_STEP: u8 = 1u8
pub const OUT_KNOB_VAL_STEP: u8 = 1u8
The step value of hardware output knob.
Sourcepub const IN_KNOB_VAL_MIN: u8 = 0u8
pub const IN_KNOB_VAL_MIN: u8 = 0u8
The minimum value of hardware input knob.
Sourcepub const IN_KNOB_VAL_MAX: u8 = 75u8
pub const IN_KNOB_VAL_MAX: u8 = 75u8
The maximum value of hardware input knob.
Sourcepub const IN_KNOB_VAL_STEP: u8 = 1u8
pub const IN_KNOB_VAL_STEP: u8 = 1u8
The step value of hardware input knob.
Sourcepub const LEVEL_STEP: u8 = 1u8
pub const LEVEL_STEP: u8 = 1u8
The step value of detected signal level.
Sourcepub fn whole_update(
avc: &BebobAvc,
meter: &mut EnsembleMeter,
timeout_ms: u32,
) -> Result<(), Error>
pub fn whole_update( avc: &BebobAvc, meter: &mut EnsembleMeter, timeout_ms: u32, ) -> Result<(), Error>
Update the given parameters by the state of hardware.
Trait Implementations§
Source§impl Debug for EnsembleMeterProtocol
impl Debug for EnsembleMeterProtocol
Source§impl Default for EnsembleMeterProtocol
impl Default for EnsembleMeterProtocol
Source§fn default() -> EnsembleMeterProtocol
fn default() -> EnsembleMeterProtocol
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for EnsembleMeterProtocol
impl RefUnwindSafe for EnsembleMeterProtocol
impl Send for EnsembleMeterProtocol
impl Sync for EnsembleMeterProtocol
impl Unpin for EnsembleMeterProtocol
impl UnwindSafe for EnsembleMeterProtocol
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