Type Number Library audio.* Revision Release 2024.3703 Keywords audio, channels, unreserved free channels See also audio.unreservedUsedChannels
Returns the number of channels that are currently available for playback (channels not playing or paused), excluding the channels which have been reserved.
audio.unreservedFreeChannels
local result = audio.unreservedFreeChannels print( result )