audio.usedChannels

Type Number
Library audio.*
Revision Current Public Release (2018.3326)
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 )