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

NameTypeDescription
channelsnumberThe number of channels.

See also