Audio Lag
by Splix · in Torque Game Engine · 10/23/2009 (11:14 am) · 4 replies
I have a problem with audio. When my actor enters a trigger, a sound effect lasting 3 secs is played with alxPlay() function written in the onEnter callback. I am experiencing an audio lag when the actor enters the trigger. It is not being played at the exact moment. How do i get it to play without a delay?
-The alxPlay() function is placed in a single level of 'if' nesting. i.e.
if(//condition)
{
alxPlay();
}
- The audio file type is .ogg and it is not preloaded
Please help.
-The alxPlay() function is placed in a single level of 'if' nesting. i.e.
if(//condition)
{
alxPlay();
}
- The audio file type is .ogg and it is not preloaded
Please help.
#2
10/24/2009 (9:23 am)
I changed preload to true ... it didn't help.
#3
Nicolas Buquet
www.buquet-net.com/cv/
10/24/2009 (9:36 am)
Does your sound file start right from the beginning, or is there a blank at the beginning of your file ?Nicolas Buquet
www.buquet-net.com/cv/
#4
10/30/2009 (5:48 am)
There is no blank in the sound file
Employee Scott Burns
GarageGames