Game Development Community

AudioType = Audio Channels?

by Kevin Epps · in Torque Game Builder · 03/19/2007 (1:04 pm) · 1 replies

Is that a correct assumption?

#1
03/19/2007 (4:48 pm)
Not really, though it's common to confuse it as such.

AudioType ends up just being a mechanism to set different volume levels to different groups of sounds. AudioType does not map directly to the real software/hardware channels in any way. What happens in the source code is the linear gain of a newly played sound is adjusted using the current volume level of the assigned AudioType.

Channels in the software/hardware mixer sense are allocated in a round-robin or first-available fashion with no control or exposure it from script.