Theora audio channel
by Vladan Markovic · in Torque Game Builder · 12/08/2011 (11:20 am) · 2 replies
Hi,
By using function:
alxSetChannelVolume(1,%volume);
I noticed that Theora video playback have audio on channel 1,
Can i assume that audio of video playback is always on channel 1 and set function in my game code like:
alxSetChannelVolume(1,%volume); to change cut-scene audio volume.
Or this channel can change value depending on how much other channles are used or some other things.
Thank you.
By using function:
alxSetChannelVolume(1,%volume);
I noticed that Theora video playback have audio on channel 1,
Can i assume that audio of video playback is always on channel 1 and set function in my game code like:
alxSetChannelVolume(1,%volume); to change cut-scene audio volume.
Or this channel can change value depending on how much other channles are used or some other things.
Thank you.
Torque Owner Rpahut
You may want to define something like '$Theora::audioChannel = 1' and use that variable instead of '1' through your scripts, so you could easily change that value when you need.