pub struct OzonicMeterProtocol;
Expand description
The protocol implementation for meter in Ozonic.
Trait Implementations§
Source§impl Debug for OzonicMeterProtocol
impl Debug for OzonicMeterProtocol
Source§impl Default for OzonicMeterProtocol
impl Default for OzonicMeterProtocol
Source§fn default() -> OzonicMeterProtocol
fn default() -> OzonicMeterProtocol
Returns the “default value” for a type. Read more
Source§impl MaudioNormalMeterProtocol for OzonicMeterProtocol
impl MaudioNormalMeterProtocol for OzonicMeterProtocol
const PHYS_INPUT_COUNT: usize = 4usize
const STREAM_INPUT_COUNT: usize = 4usize
const PHYS_OUTPUT_COUNT: usize = 4usize
const ROTARY_COUNT: usize = 0usize
const HAS_SWITCH: bool = false
const HAS_SYNC_STATUS: bool = false
const LEVEL_MIN: i32 = 0i32
const LEVEL_MAX: i32 = 2_147_483_647i32
const LEVEL_STEP: i32 = 256i32
const ROTARY_MIN: i32 = 0i32
const ROTARY_MAX: i32 = 32_767i32
const ROTARY_STEP: i32 = 512i32
fn create_meter() -> MaudioNormalMeter
fn calculate_meter_frame_size() -> usize
fn read_meter( req: &FwReq, node: &FwNode, meter: &mut MaudioNormalMeter, timeout_ms: u32, ) -> Result<(), Error>
Auto Trait Implementations§
impl Freeze for OzonicMeterProtocol
impl RefUnwindSafe for OzonicMeterProtocol
impl Send for OzonicMeterProtocol
impl Sync for OzonicMeterProtocol
impl Unpin for OzonicMeterProtocol
impl UnwindSafe for OzonicMeterProtocol
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