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§

source

const ANALOG_INPUT_PAIR_COUNT: usize

The number of analog input pairs.

source

const DIGITAL_B_INPUT_PAIR_COUNT: usize

The number of digital input B pairs.

Provided Associated Constants§

source

const STREAM_INPUT_PAIR_COUNT: usize = 4usize

The number of stream input pairs.

source

const DIGITAL_A_INPUT_PAIR_COUNT: usize = 4usize

The number of digital input A pairs.

source

const MIXER_OUTPUT_PAIR_COUNT: usize = 4usize

The number of mixer output pairs.

source

const GAIN_MIN: i32 = 0i32

The minimum value of gain.

source

const GAIN_MAX: i32 = 8_388_607i32

The maximum value of gain.

source

const VOLUME_MIN: u32 = 0u32

The minimum value of volume, as well as minimum value of knob.

source

const VOLUME_MAX: u32 = 256u32

The maximum value of volume, as well as maximum value of knob.

Provided Methods§

source

fn create_mixer_params() -> IofwMixerParams

Instantiate mixer parameters.

Object Safety§

This trait is not object safe.

Implementors§