pub struct Fa101MixerAnalogSourceProtocol;
Expand description
The protocol implementation for physical input of FA-101. Any operation is effective when enabling hardware switch with ‘SOFT CTRL’.
Trait Implementations§
Source§impl AvcLevelOperation for Fa101MixerAnalogSourceProtocol
impl AvcLevelOperation for Fa101MixerAnalogSourceProtocol
Source§const LEVEL_STEP: i16 = 256i16
const LEVEL_STEP: i16 = 256i16
The step value of signal level.
Source§fn create_level_parameters() -> AvcLevelParameters
fn create_level_parameters() -> AvcLevelParameters
Instantiate parameters.
Source§fn cache_levels(
avc: &BebobAvc,
params: &mut AvcLevelParameters,
timeout_ms: u32,
) -> Result<(), Error>
fn cache_levels( avc: &BebobAvc, params: &mut AvcLevelParameters, timeout_ms: u32, ) -> Result<(), Error>
Cache state of hardware to the parameters.
Source§fn update_levels(
avc: &BebobAvc,
params: &AvcLevelParameters,
old: &mut AvcLevelParameters,
timeout_ms: u32,
) -> Result<(), Error>
fn update_levels( avc: &BebobAvc, params: &AvcLevelParameters, old: &mut AvcLevelParameters, timeout_ms: u32, ) -> Result<(), Error>
Update the hardware when detecting any changes in the parameters.
Source§impl AvcLrBalanceOperation for Fa101MixerAnalogSourceProtocol
impl AvcLrBalanceOperation for Fa101MixerAnalogSourceProtocol
Source§const BALANCE_MIN: i16 = -32_768i16
const BALANCE_MIN: i16 = -32_768i16
The minimum value of L/R balance.
Source§const BALANCE_MAX: i16 = 32_766i16
const BALANCE_MAX: i16 = 32_766i16
The maximum value of L/R balance.
Source§const BALANCE_STEP: i16 = 128i16
const BALANCE_STEP: i16 = 128i16
The step value of L/R balance.
Source§fn create_lr_balance_parameters() -> AvcLrBalanceParameters
fn create_lr_balance_parameters() -> AvcLrBalanceParameters
Instantiate parameters.
Source§fn cache_lr_balances(
avc: &BebobAvc,
params: &mut AvcLrBalanceParameters,
timeout_ms: u32,
) -> Result<(), Error>
fn cache_lr_balances( avc: &BebobAvc, params: &mut AvcLrBalanceParameters, timeout_ms: u32, ) -> Result<(), Error>
Cache state of hardware to the parameters.
Source§fn update_lr_balances(
avc: &BebobAvc,
params: &AvcLrBalanceParameters,
old: &mut AvcLrBalanceParameters,
timeout_ms: u32,
) -> Result<(), Error>
fn update_lr_balances( avc: &BebobAvc, params: &AvcLrBalanceParameters, old: &mut AvcLrBalanceParameters, timeout_ms: u32, ) -> Result<(), Error>
Update the hardware when detecting any changes in the parameters.
Source§impl Default for Fa101MixerAnalogSourceProtocol
impl Default for Fa101MixerAnalogSourceProtocol
Source§fn default() -> Fa101MixerAnalogSourceProtocol
fn default() -> Fa101MixerAnalogSourceProtocol
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for Fa101MixerAnalogSourceProtocol
impl RefUnwindSafe for Fa101MixerAnalogSourceProtocol
impl Send for Fa101MixerAnalogSourceProtocol
impl Sync for Fa101MixerAnalogSourceProtocol
impl Unpin for Fa101MixerAnalogSourceProtocol
impl UnwindSafe for Fa101MixerAnalogSourceProtocol
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