audio.unreservedUsedChannels

Type Number
Library audio.*
Revision 2017.3179
Keywords audio, channels, unreserved used channels
See also audio.unreservedFreeChannels

Overview

Returns the number of channels that are currently in use (playing or paused), excluding the channels which have been reserved.

Syntax

audio.unreservedUsedChannels

Example

local result = audio.unreservedUsedChannels
print( result )