audio.totalChannels

Type Number
Library audio.*
Revision 2017.3077
Keywords audio, channels, total channels
See also audio.reservedChannels

Overview

Returns the total number of channels. This value is currently 32, but the limit may change in the future.

Syntax

audio.totalChannels

Example

local result = audio.totalChannels
print( result )