AudioStream:getChannelCount

Returns the number of channels present in the stream's sound data. Mono sounds have 1 channel and stereo sounds have 2 channels.

channels = AudioStream:getChannelCount()

Arguments

None

Returns

NameTypeDescription
channelsnumberThe number of channels.

See also