Game Development Community

A weird click in sounds

by Martin Andresen · in Torque Game Builder · 03/11/2007 (4:43 pm) · 2 replies

I have a problem which is driving me nuts. Can't figure out what is happening. Every time I play a sound in TGB, after about 1-2 seconds there is a click in the sound. A click you can just barely hear. A click which is not suppose to be there. It doesn't matter if it is streamed or non-streamed, a wav file or an ogg file.

Even with an empty project with just an audio description and I play the sound from the console (with alxPlay), there is this annoying click. If I play the sound in WinAmp or mediaplayer the sound is played perfectly. I had my brother play the sounds on his computer in TGB and he had the same problem. I even tried to use some sounds I took from other games (also made with TGB) and they also made the click in TGB. What is going on?

I hope someone can help me with this problem! Or is it an error in TGB?

#1
03/11/2007 (5:01 pm)
It could be an issue with your audio configuration, I do not experience odd 'clicks' in sounds in TGB, so it's not TGB ... it could be your systems sound card, your sound drivers, or possibly your speakers ... I'd go on the assumption is the sound card or the drivers and they just don't like the way OpenAL is doing it ... try upgrading your drivers, if possible/available ... and perhaps provide some sample sounds that can be tested by others if both your workstation and your brothers workstation both experience the same issue (if you both have the same hardware/drivers/os then having someone else test is probably best ...)
#2
03/12/2007 (3:24 am)
It was OpenAL which was the problem. I had actually installed the latest version, to the Windows folder, but had forgot to update the version in the TGB folder. So I copied the new version to the TGB folder and then it worked.. Thanks for the help!