pub struct IofwMixerParams {
pub mixer_pairs: [IofwMixerPair; 4],
pub blend_knob: u32,
pub master_knob: u32,
}Expand description
Parametes of source pairs for mixer.
Fields§
§mixer_pairs: [IofwMixerPair; 4]The setting of each mixer.
blend_knob: u32The value of master knob, between 0 and 0x100.
master_knob: u32The value of master knob, between 0 and 0x100.
Trait Implementations§
Source§impl Clone for IofwMixerParams
impl Clone for IofwMixerParams
Source§fn clone(&self) -> IofwMixerParams
fn clone(&self) -> IofwMixerParams
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for IofwMixerParams
impl Debug for IofwMixerParams
Source§impl PartialEq for IofwMixerParams
impl PartialEq for IofwMixerParams
impl Eq for IofwMixerParams
impl StructuralPartialEq for IofwMixerParams
Auto Trait Implementations§
impl Freeze for IofwMixerParams
impl RefUnwindSafe for IofwMixerParams
impl Send for IofwMixerParams
impl Sync for IofwMixerParams
impl Unpin for IofwMixerParams
impl UnwindSafe for IofwMixerParams
Blanket Implementations§
Source§impl<O> AlesisFluctuatedParametersOperation<IofwMixerParams> for O
impl<O> AlesisFluctuatedParametersOperation<IofwMixerParams> for O
Source§const FLUCTUATED_OFFSET_RANGES: &'static [Range<usize>] = const FLUCTUATED_OFFSET_RANGES: &'static [Range<usize>] =
&[Range {
start: MIXER_OUTPUT_VOLUME_OFFSET,
end: MIXER_OUTPUT_VOLUME_OFFSET + 8 },
Range {
start: KNOB_PARAMS_OFFSET,
end: KNOB_PARAMS_OFFSET + KNOB_PARAMS_SIZE }];
const FLUCTUATED_OFFSET_RANGES: &'static [Range<usize>] = const FLUCTUATED_OFFSET_RANGES: &'static [Range<usize>] = &[Range { start: MIXER_OUTPUT_VOLUME_OFFSET, end: MIXER_OUTPUT_VOLUME_OFFSET + 8 }, Range { start: KNOB_PARAMS_OFFSET, end: KNOB_PARAMS_OFFSET + KNOB_PARAMS_SIZE }];
The set of address offsets in which any value is changed apart from software operation.
Source§impl<O> AlesisMutableParametersOperation<IofwMixerParams> for O
impl<O> AlesisMutableParametersOperation<IofwMixerParams> for O
Source§impl<O> AlesisParametersSerdes<IofwMixerParams> for Owhere
O: IofwMixerSpecification,
impl<O> AlesisParametersSerdes<IofwMixerParams> for Owhere
O: IofwMixerSpecification,
Source§const OFFSET_RANGES: &'static [Range<usize>] = const OFFSET_RANGES: &'static [Range<usize>] =
&[Range {
start: MIXER_PARAMS_OFFSET,
end: MIXER_PARAMS_OFFSET + MIXER_PARAMS_SIZE },
Range {
start: KNOB_PARAMS_OFFSET,
end: KNOB_PARAMS_OFFSET + KNOB_PARAMS_SIZE }];
const OFFSET_RANGES: &'static [Range<usize>] = const OFFSET_RANGES: &'static [Range<usize>] = &[Range { start: MIXER_PARAMS_OFFSET, end: MIXER_PARAMS_OFFSET + MIXER_PARAMS_SIZE }, Range { start: KNOB_PARAMS_OFFSET, end: KNOB_PARAMS_OFFSET + KNOB_PARAMS_SIZE }];
The range of offset for parameters.
Source§fn serialize_params(
params: &IofwMixerParams,
raw: &mut [u8],
) -> Result<(), String>
fn serialize_params( params: &IofwMixerParams, raw: &mut [u8], ) -> Result<(), String>
Serialize parameters to raw layout of data.
Source§fn deserialize_params(
params: &mut IofwMixerParams,
raw: &[u8],
) -> Result<(), String>
fn deserialize_params( params: &mut IofwMixerParams, raw: &[u8], ) -> Result<(), String>
Deserialize parameters from raw layout of data.
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