IVSAudioDevice
This represents an IVSDevice that provides audio samples.
-
Sets the gain for this audio device. This will be clamped between 0 and 2. A gain of 1 means no change. A gain less than 1 will suppress, and greater than 1 will amplify.
Declaration
Objective-C
- (void)setGain:(float)gain;
Swift
func setGain(_ gain: Float)
Parameters
gain
the requested gain