IofwMeterSpecification

Trait IofwMeterSpecification 

Source
pub trait IofwMeterSpecification {
    const ANALOG_INPUT_COUNT: usize;
    const DIGITAL_B_INPUT_COUNT: usize;
    const STREAM_INPUT_COUNT: usize = 8usize;
    const DIGITAL_A_INPUT_COUNT: usize = 8usize;
    const MIXER_OUTPUT_COUNT: usize = 8usize;
    const LEVEL_MIN: i32 = 0i32;
    const LEVEL_MAX: i32 = 32_767i32;

    // Provided method
    fn create_meter_params() -> IofwMeterParams { ... }
}
Expand description

Specification for hardware meter.

Required Associated Constants§

Source

const ANALOG_INPUT_COUNT: usize

The number of analog inputs.

Source

const DIGITAL_B_INPUT_COUNT: usize

The number of digital B inputs.

Provided Associated Constants§

Source

const STREAM_INPUT_COUNT: usize = 8usize

The number of stream inputs.

Source

const DIGITAL_A_INPUT_COUNT: usize = 8usize

The number of digital A inputs.

Source

const MIXER_OUTPUT_COUNT: usize = 8usize

The number of mixer outputs.

Source

const LEVEL_MIN: i32 = 0i32

The minimum value of detected signal level.

Source

const LEVEL_MAX: i32 = 32_767i32

The maximum value of detected signal level.

Provided Methods§

Source

fn create_meter_params() -> IofwMeterParams

Instantiate state of meters.

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§