Source:getChannelCount
Returns the number of channels in the Source. Mono sounds have 1 channel and stereo sounds have 2 channels.
channels = Source:getChannelCount()
Arguments
None
Returns
Name | Type | Description |
channels | number | The number of channels. |
See also
SoundData:getChannelCount
AudioStream:getChannelCount
Source