pub struct MaudioSpecialOutputProtocol;
Expand description
The protocol implementation for physical output.
Implementations§
Source§impl MaudioSpecialOutputProtocol
impl MaudioSpecialOutputProtocol
Sourcepub const VOLUME_MIN: i16 = -32_768i16
pub const VOLUME_MIN: i16 = -32_768i16
The minimum value of volume.
Sourcepub const VOLUME_MAX: i16 = 0i16
pub const VOLUME_MAX: i16 = 0i16
The maximum value of volume.
Sourcepub const VOLUME_STEP: i16 = 256i16
pub const VOLUME_STEP: i16 = 256i16
The step value of volume.
Trait Implementations§
Source§impl Debug for MaudioSpecialOutputProtocol
impl Debug for MaudioSpecialOutputProtocol
Source§impl Default for MaudioSpecialOutputProtocol
impl Default for MaudioSpecialOutputProtocol
Source§fn default() -> MaudioSpecialOutputProtocol
fn default() -> MaudioSpecialOutputProtocol
Returns the “default value” for a type. Read more
Source§impl SpecialParametersSerdes<MaudioSpecialOutputParameters> for MaudioSpecialOutputProtocol
impl SpecialParametersSerdes<MaudioSpecialOutputParameters> for MaudioSpecialOutputProtocol
Source§const OFFSET_RANGES: &'static [&'static Range<usize>]
const OFFSET_RANGES: &'static [&'static Range<usize>]
The set of offset ranges for the type of parameters.
Source§fn serialize(params: &MaudioSpecialOutputParameters, raw: &mut [u8])
fn serialize(params: &MaudioSpecialOutputParameters, raw: &mut [u8])
Change the content of cache by the given parameters.
Source§fn deserialize(params: &mut MaudioSpecialOutputParameters, raw: &[u8])
fn deserialize(params: &mut MaudioSpecialOutputParameters, raw: &[u8])
Decode the cache to change the given parameter
Auto Trait Implementations§
impl Freeze for MaudioSpecialOutputProtocol
impl RefUnwindSafe for MaudioSpecialOutputProtocol
impl Send for MaudioSpecialOutputProtocol
impl Sync for MaudioSpecialOutputProtocol
impl Unpin for MaudioSpecialOutputProtocol
impl UnwindSafe for MaudioSpecialOutputProtocol
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