audio.freeChannels

Type Number
Library audio.*
Revision 2017.3178
Keywords audio, channels, free channels
See also audio.findFreeChannel()
audio.play()
audio.reserveChannels()

Overview

This property is equal to the number of channels that are currently available for playback (channels not playing or paused).

Syntax

audio.freeChannels

Example

local result = audio.freeChannels
print( result )