SetInputGain
soundChannel:SetInputGain(gain)
Sets the amplification applied to the signal coming from the input device.
DISCUSSION
- gain
- An integer from 0 (no amplification) to 255 (maximum amplification) specifying the amplification to be applied to the input signal.
- return value
- Undefined; do not rely on it.
This method changes the input gain, in real time, of the current input channel (and because current hardware supports only one input source at a time, all other active input channels).
This method does not change the value of the
inputGain
slot in the sound channel frame.
*SetInputGain
can be called only on open channels, otherwise an exception is thrown.SEE ALSO
For more information on gain values, see "Setting the Input Gain".
Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help