IofwMixerSpecification

Trait IofwMixerSpecification 

Source
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.

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.

Implementors§