audio.unreservedUsedChannels

Type Number
Library audio.*
Revision Release 2024.3703
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 )