Name
GetChannels -- get number of available channels (V6.1)
Synopsis
n = GetChannels()
Function
This function returns the total number of available channels for audio output. This defaults to 8 but can be changed by using the ‘-numchannels’ console argument. See Console arguments for details.

Note that this argument doesn't return the free audio channels but the total audio channels. To check if there is a channel that can be used for audio output, use the HaveFreeChannel() function instead. See HaveFreeChannel for details.

Inputs
none

Results
n
total number of available channels

Show TOC