pub trait MotuCommandDspOutputSpecification {
const OUTPUT_PORTS: &'static [TargetPort];
const OUTPUT_GAIN_MIN: f32 = 0f32;
const OUTPUT_GAIN_MAX: f32 = 1f32;
const OUTPUT_VOLUME_MIN: f32 = 0f32;
const OUTPUT_VOLUME_MAX: f32 = 1f32;
// Provided methods
fn create_output_state() -> CommandDspOutputState { ... }
fn create_output_equalizer_state() -> CommandDspOutputEqualizerState { ... }
fn create_output_dynamics_state() -> CommandDspOutputDynamicsState { ... }
}
Expand description
The trait for specification of output.
Required Associated Constants§
Sourceconst OUTPUT_PORTS: &'static [TargetPort]
const OUTPUT_PORTS: &'static [TargetPort]
The destination port of outputs.
Provided Associated Constants§
Sourceconst OUTPUT_GAIN_MIN: f32 = 0f32
const OUTPUT_GAIN_MIN: f32 = 0f32
The minimum value of gain for outputs.
Sourceconst OUTPUT_GAIN_MAX: f32 = 1f32
const OUTPUT_GAIN_MAX: f32 = 1f32
The maximum value of gain for outputs.
Sourceconst OUTPUT_VOLUME_MIN: f32 = 0f32
const OUTPUT_VOLUME_MIN: f32 = 0f32
The minimum value of volume for outputs.
Sourceconst OUTPUT_VOLUME_MAX: f32 = 1f32
const OUTPUT_VOLUME_MAX: f32 = 1f32
The maximum value of volume for outputs.
Provided Methods§
fn create_output_state() -> CommandDspOutputState
fn create_output_equalizer_state() -> CommandDspOutputEqualizerState
fn create_output_dynamics_state() -> CommandDspOutputDynamicsState
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.