audio.usedChannels

Type Number
Library audio.*
Revision 2017.3060
Keywords audio, channels, used channels
See also audio.totalChannels

Overview

Returns the number of channels that are currently in use (playing or paused).

Syntax

audio.usedChannels

Example

local result = audio.usedChannels
print( result )