Game Development Community

Sound skipping

by Randy Hearn - Magnum · in Torque Game Engine Advanced · 12/08/2008 (8:29 pm) · 6 replies

I have looked through the threads and see there has been problems with the sound with TGEA before. I am using TGEA 1.7.1 and I believe I have tracked down my system lockups and crashes to the sound. When shooting from just the default map the sound will lock up and start repeating real fast. After a few seconds it will stop as long as I do not do anything.

I am using a SoundMax Integrated Digital HD Audio card and curious if anyone has had problems when using this type card? Sound is running through HDMI to monitor speakers.

About the author

Technical Product Designer (Mechanical Design) for Boeing for over 25 years working with CAD and PLM systems. I have a Associates Degree in Business and a partial B.S. in Game and Simulation, just couldn't see paying the costs for some of the classes.


#1
12/09/2008 (5:45 pm)
Which SFX provider are you using? OpenAL? Have you tried another provider (can be set from the options dialog in the Stronghold demo, for example)?

Do you get real system lock-up, i.e. where the entire Windows system locks up? If so, then it's an issue in the device drives.

Lastly, Torque SFX has seen a slew of improvements in the impending 1.8 release.

//EDIT: corrected typos
#2
12/09/2008 (6:39 pm)
Actually didn't realize the stronghold had the opotions, was curious why the ability to change was not there on the templates, will have to look and turn it on. I can run the stronghold flawlessly, its just when I create a template. So I can run in OpenAL or DirectSound running into SPDIF.

I have used 1.8 as I can not get any vehicles to not pass through the terrain, posted a BUG on it, but no follow ups and haven't seen it listed elsewhere. So for me 1.8 is out, until the next update where that is fixed.

As far as real system lock up. No just the application itself, sorry should have clarified that.
#3
12/10/2008 (5:10 am)
I just want to add that after switching to XAudio2 as provider, I've not seen (or heard, hehe) any problems.
Really unfortunate how OpenAL is the default provider on SFX for Windows when the XAudio2 provider works so well.

Quote:
Lastly, Torque SFX has seen a slew of improvements in the impending 1.8 release.

Woohoo!
#4
12/10/2008 (10:21 pm)
I am not familiar with all the different sound drivers and options yet, so I know nothing about how to set ZAudio2 as a provider. I will say that OpenAL works and I have no problem with the stronghold mission, so I need to look at the default template mission and see what is different. Seems the template has a different GUI control that selects the Audio and is not selectable at all for me.

Soooo.
#5
12/11/2008 (2:09 am)
Should you ever want to take a look, you can set it in prefs.cs by hand. Search for OpenAL in there and you can just swap that out with DirectSound. XAudio2 needs additional compilation, I believe.
#6
12/11/2008 (1:02 pm)
Thanks Stefan, I will look into that. Gives me a starting point anyway. Was going to search later on XAudio and see what I found:)