Mute audio without calling stop?
by Jereis Zaatri · in Torque Game Builder · 09/20/2010 (5:22 am) · 1 replies
Hello,
Is there a way to mute all sound without just calling stop? Also I couldn't find references to how to start from a particular place in the file or adjust volume while playing the audio. Could someone point that stuff out for me? So far my only understanding of playing audio is from that tutorial in the documentation.
Is there a way to mute all sound without just calling stop? Also I couldn't find references to how to start from a particular place in the file or adjust volume while playing the audio. Could someone point that stuff out for me? So far my only understanding of playing audio is from that tutorial in the documentation.
About the author
Torque Owner Jay Jennings
Jay Jennings
http://tdn.garagegames.com/wiki/TorqueScript_Console_Functions_1
There's a call of alxSetChannelVolume( channelD , volume ) that may do what you want. I have done almost zero audio in TGB so I'm just guessing as to whether this will help. =:)
Jay Jennings