Game Development Community

Audio Issues - sometimes audio does not play

by torque2a · in Torque Game Builder · 01/17/2007 (3:09 pm) · 3 replies

Any assistance is appreciated... Thanks in advance. Using TGB.

Here's the summary of the problem:
When the game loads, all sounds work fine. As time goes by however, some sounds sometimes don't play, seemingly at random. This gets worse the longer the game is running until eventually it's rare that any play.

Techy stuff:
The only function I'm using is alxPlay. On the random failures it doesn't give me the error return of "0".
The sound card used is a Realtek High Definition Audio onboard an Asus motherboard. We've downloaded the latest drivers from realtek with no change.

To fix the problem I have tried both streaming and non-streaming audio, as well as creating a set of audio management functions which has had no effect on the problem. I've tried playing from the profile and from the handle as well as using multiple channels and rotating on each play. I have searched the forums for an answer but have not found one. I made a post on Decemeber 14th about it in the Audio section of the General Technical Issues For Game Developers section on the forum but received no response.

#1
01/18/2007 (12:03 pm)
Here's more info on the problem which we can replicate each time:

Test with a Realtek HD sound device

When I run the latest version of Torque game builder, sounds are not working properly. Sometimes sounds play and other times they don't. It's intermittent.

I downloaded and installed the latest version of Realteks HD driver. The problem persisted.

I downloaded and copied to my game directory the latest OpenAL dll. The problem persisted.

Using a USB port, I plugged in an Edirol UA-25 external sound card and installed the latest driver. The problem was resolved.

So it seems there is an incompatibility issue between torque game builder and the Realtek HD sound device. We need to fix this ASAP.
#2
01/18/2007 (11:41 pm)
Isolated the problem to Intel Duo Core (multithreading) and OpenAL.

Any suggestions as I narrowed it down... same app works on regular Intel and non-Intel with same onboard audio. Thanks in advance for your assistance.
#3
03/13/2007 (7:43 pm)
Hello, anyone have any input on how to address/fix the audio problems? Any suggestions? Anyone from Garage Games reading this - can you provide some direction? Thanks.