audio.totalChannels

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