pub struct MaudioSpecialMeterProtocol;
Expand description
The protocol implementation for hardware metering.
Implementations§
Source§impl MaudioSpecialMeterProtocol
impl MaudioSpecialMeterProtocol
Sourcepub const LEVEL_STEP: i16 = 256i16
pub const LEVEL_STEP: i16 = 256i16
The step value of detected level.
Sourcepub const ROTARY_MIN: i16 = -32_768i16
pub const ROTARY_MIN: i16 = -32_768i16
The minimum value of hardware rotary.
Sourcepub const ROTARY_MAX: i16 = 0i16
pub const ROTARY_MAX: i16 = 0i16
The maximum value of hardware rotary.
Sourcepub const ROTARY_STEP: i16 = 1_024i16
pub const ROTARY_STEP: i16 = 1_024i16
The step value of hardware rotary.
pub fn cache( req: &FwReq, node: &FwNode, meter: &mut MaudioSpecialMeterState, timeout_ms: u32, ) -> Result<(), Error>
Trait Implementations§
Source§impl Debug for MaudioSpecialMeterProtocol
impl Debug for MaudioSpecialMeterProtocol
Source§impl Default for MaudioSpecialMeterProtocol
impl Default for MaudioSpecialMeterProtocol
Source§fn default() -> MaudioSpecialMeterProtocol
fn default() -> MaudioSpecialMeterProtocol
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for MaudioSpecialMeterProtocol
impl RefUnwindSafe for MaudioSpecialMeterProtocol
impl Send for MaudioSpecialMeterProtocol
impl Sync for MaudioSpecialMeterProtocol
impl Unpin for MaudioSpecialMeterProtocol
impl UnwindSafe for MaudioSpecialMeterProtocol
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