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.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.