setInputGain(_:)
Changes the input gain to the specified value.
Declaration
func setInputGain(_ gain: Float) throwsParameters
- gain:
The new gain value, which must be in the range
0.0to1.0, where0.0represents the lowest gain setting and1.0represents the highest gain setting.
Discussion
Before calling this method, check the value in the isInputGainSettable property to make sure the input gain level is settable for the current inputs.