OpenSnd crash
by Blackcode · in Torque Game Engine · 05/29/2007 (6:53 am) · 5 replies
Alot of crash code in this book !! however when I tried the following code the engine crash
%whichdoor.openSnd = %whichdoor.playAudio(0, doorStartOpenSwingSnd);
//sound proifle
datablock AudioProfile(doorStartOpenSwingSnd)
{
fileName = "~/data/sound/door1_move.wav";
description = AudioOpen3d;
preload = true;
};
any idea ?
%whichdoor.openSnd = %whichdoor.playAudio(0, doorStartOpenSwingSnd);
//sound proifle
datablock AudioProfile(doorStartOpenSwingSnd)
{
fileName = "~/data/sound/door1_move.wav";
description = AudioOpen3d;
preload = true;
};
any idea ?
#2
I will post trace log later
thanks
05/29/2007 (11:46 am)
I dont made this function I was assuming it is a built in function in torque, however if I want to use 3D audio what is the right way to do it ?I will post trace log later
thanks
#3
tdn.garagegames.com/wiki/Audio/Getting_Started
www.garagegames.com/mg/forums/result.thread.php?qt=52978
The first one is tdn, and the second is an old thread where I describe how to play audio on the game start.
05/29/2007 (12:47 pm)
I'll post some links, I would post code but this is a public forum.tdn.garagegames.com/wiki/Audio/Getting_Started
www.garagegames.com/mg/forums/result.thread.php?qt=52978
The first one is tdn, and the second is an old thread where I describe how to play audio on the game start.
#4
http://www.garagegames.com/mg/forums/result.thread.php?qt=62797
thanks
05/30/2007 (8:34 am)
I still cant get it to work , I dont want to use mono sound I need 3D sound here is the link to my topic in private forumhttp://www.garagegames.com/mg/forums/result.thread.php?qt=62797
thanks
#5
05/30/2007 (8:40 am)
A 3D sound requires a mono sound file.
Torque 3D Owner mb