pub trait MotuCommandDspInputSpecification {
const INPUT_PORTS: &'static [TargetPort];
const MIC_COUNT: usize;
const LINE_INPUT_COUNT: usize;
const INPUT_GAIN_MIN: i32 = -96i32;
const INPUT_GAIN_MAX: i32 = 22i32;
const INPUT_GAIN_STEP: i32 = 1i32;
const INPUT_WIDTH_MIN: f32 = 0f32;
const INPUT_WIDTH_MAX: f32 = 1f32;
const INPUT_REVERB_GAIN_MIN: f32 = 0f32;
const INPUT_REVERB_GAIN_MAX: f32 = 1f32;
const INPUT_REVERB_BALANCE_MIN: f32 = -1f32;
const INPUT_REVERB_BALANCE_MAX: f32 = 1f32;
// Provided methods
fn create_input_state() -> CommandDspInputState { ... }
fn create_input_equalizer_state() -> CommandDspInputEqualizerState { ... }
fn create_input_dynamics_state() -> CommandDspInputDynamicsState { ... }
}
Expand description
The trait for specification of inputs.
Required Associated Constants§
Sourceconst INPUT_PORTS: &'static [TargetPort]
const INPUT_PORTS: &'static [TargetPort]
The input ports.
Sourceconst LINE_INPUT_COUNT: usize
const LINE_INPUT_COUNT: usize
The number of line inputs.
Provided Associated Constants§
Sourceconst INPUT_GAIN_MIN: i32 = -96i32
const INPUT_GAIN_MIN: i32 = -96i32
The minimum value of gain.
Sourceconst INPUT_GAIN_MAX: i32 = 22i32
const INPUT_GAIN_MAX: i32 = 22i32
The maximum value of gain.
Sourceconst INPUT_GAIN_STEP: i32 = 1i32
const INPUT_GAIN_STEP: i32 = 1i32
The step value of gain.
Sourceconst INPUT_WIDTH_MIN: f32 = 0f32
const INPUT_WIDTH_MIN: f32 = 0f32
The minimum value of width.
Sourceconst INPUT_WIDTH_MAX: f32 = 1f32
const INPUT_WIDTH_MAX: f32 = 1f32
The maximum value of width.
Sourceconst INPUT_REVERB_GAIN_MIN: f32 = 0f32
const INPUT_REVERB_GAIN_MIN: f32 = 0f32
The minimum value of gain to send to reverb.
Sourceconst INPUT_REVERB_GAIN_MAX: f32 = 1f32
const INPUT_REVERB_GAIN_MAX: f32 = 1f32
The maximum value of gain to send to reverb.
Sourceconst INPUT_REVERB_BALANCE_MIN: f32 = -1f32
const INPUT_REVERB_BALANCE_MIN: f32 = -1f32
The minimum value of left and right balance to send to reverb.
Sourceconst INPUT_REVERB_BALANCE_MAX: f32 = 1f32
const INPUT_REVERB_BALANCE_MAX: f32 = 1f32
The maximum value of left and right balance to send to reverb.
Provided Methods§
Sourcefn create_input_state() -> CommandDspInputState
fn create_input_state() -> CommandDspInputState
Instantiate input parameters.
Sourcefn create_input_equalizer_state() -> CommandDspInputEqualizerState
fn create_input_equalizer_state() -> CommandDspInputEqualizerState
Instantiate input equalizer parameters.
Sourcefn create_input_dynamics_state() -> CommandDspInputDynamicsState
fn create_input_dynamics_state() -> CommandDspInputDynamicsState
Instantiate input dynamics 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.