pub trait IofwMixerSpecification {
const ANALOG_INPUT_PAIR_COUNT: usize;
const DIGITAL_B_INPUT_PAIR_COUNT: usize;
const STREAM_INPUT_PAIR_COUNT: usize = 4usize;
const DIGITAL_A_INPUT_PAIR_COUNT: usize = 4usize;
const MIXER_OUTPUT_PAIR_COUNT: usize = 4usize;
const GAIN_MIN: i32 = 0i32;
const GAIN_MAX: i32 = 8_388_607i32;
const VOLUME_MIN: u32 = 0u32;
const VOLUME_MAX: u32 = 256u32;
// Provided method
fn create_mixer_params() -> IofwMixerParams { ... }
}Expand description
Specification of mixers.
Required Associated Constants§
sourceconst ANALOG_INPUT_PAIR_COUNT: usize
const ANALOG_INPUT_PAIR_COUNT: usize
The number of analog input pairs.
sourceconst DIGITAL_B_INPUT_PAIR_COUNT: usize
const DIGITAL_B_INPUT_PAIR_COUNT: usize
The number of digital input B pairs.
Provided Associated Constants§
sourceconst STREAM_INPUT_PAIR_COUNT: usize = 4usize
const STREAM_INPUT_PAIR_COUNT: usize = 4usize
The number of stream input pairs.
sourceconst DIGITAL_A_INPUT_PAIR_COUNT: usize = 4usize
const DIGITAL_A_INPUT_PAIR_COUNT: usize = 4usize
The number of digital input A pairs.
sourceconst MIXER_OUTPUT_PAIR_COUNT: usize = 4usize
const MIXER_OUTPUT_PAIR_COUNT: usize = 4usize
The number of mixer output pairs.
sourceconst VOLUME_MIN: u32 = 0u32
const VOLUME_MIN: u32 = 0u32
The minimum value of volume, as well as minimum value of knob.
sourceconst VOLUME_MAX: u32 = 256u32
const VOLUME_MAX: u32 = 256u32
The maximum value of volume, as well as maximum value of knob.
Provided Methods§
sourcefn create_mixer_params() -> IofwMixerParams
fn create_mixer_params() -> IofwMixerParams
Instantiate mixer parameters.
Object Safety§
This trait is not object safe.