RecordingDevice:getChannelCount
Gets the number of channels currently being recorded (mono or stereo).
channels = RecordingDevice:getChannelCount()
channels number The number of channels being recorded (1 for mono, 2 for stereo).