Microphone:getChannelCount
Returns the number of channels recorded by the Microphone. One recorded channel will result in a mono sound, and there will be two channels for a stereo sound. Most microphones only support recording a single channel.
channels = Microphone:getChannelCount()
Arguments
None
Returns
Name | Type | Description |
channels | number | The number of channels recorded. |
See also
Microphone:getBitDepth
Microphone:getSampleRate
lovr.audio.newMicrophone
Microphone