RecordingDevice:getChannelCount

Available since LÖVE 11.0
This function is not supported in earlier versions.

Gets the number of channels currently being recorded (mono or stereo).

Function

Synopsis

channels = RecordingDevice:getChannelCount( )

Arguments

None.

Returns

number channels
The number of channels being recorded (1 for mono, 2 for stereo).

See Also

© 2006–2020 LÖVE Development Team
Licensed under the GNU Free Documentation License, Version 1.3.
https://love2d.org/wiki/RecordingDevice:getChannelCount