Game Development Community

Trouble with 2D sounds (TGE 1.5.2)

by Vyacheslav Maltsev · in Torque Game Engine · 01/14/2008 (1:02 am) · 10 replies

Hi where!
I've encountered bug with OpenAL. While I'm trying to play multipple sounds, more than half of them are not played at all! I've tried my demo on several machines and discovered that such trouble occurs only on Intel processors! On AMD's all sounds plays good. May be its all about integrated sound cards, not about the processors but.. it shouldn't be like that, right?

Please, help me somebody!

#1
01/14/2008 (1:25 am)
How many sounds did you try to play?
Onboard (unrelated to the cpu) sound chips are restricted on the amount of channels you can play parallel ...

But it might as well be that the users need to install a new OpenAL driver. I'm actually not sure how outdated the OpenAL is that comes with TGE, but definitely its not the current Creative Release so at least for the Vista side you might need to replace that.
#2
01/14/2008 (3:21 am)
How many? 4 - maximum! May be I need fresh OpenAL driver... trying in process...
#3
01/14/2008 (3:41 am)
It's a pitty, but refreshing of driver did not helped :(
I tested my game only on Windows XP...

...more ideas?
#4
01/14/2008 (4:14 am)
And the sound driver is installed fine and up to date as well? (www.driveragent.com is a simple way to fast scan how current your drivers are)

Realtek AC'97 and Realtek HD (normally used as onboard on most boards) should both be fine with more than 4 sounds ...
#5
01/14/2008 (4:55 am)
Strange - www.driveragent.com doen't work :(
Realtek AC'97 standing on my comp at home. At work place is - SoundMAX Integrated Digital HD Audio. The result of both equally bad :(
#6
01/14/2008 (5:36 am)
Hey, Mark! Looks like I've found answer! I've tried to play sound directly thru the console: alxPlay("MySound.ogg"). I did it while game where initializing and... ALL SOUNDS STARTED TO PLAY!!! 8-)
Seems like its really intels problem! Initialization just goes badly.
I'll try to do the same at home. May be I also should make sound initiation at Client, not the Server side. Tomorrow I'll tell you result.

Thanx for help!


Cheers! ^_^
#7
01/14/2008 (11:48 pm)
Hmmm... I didn't find right solvation yet. I tried to initialize sounds at client side, tried to play sounds during game initialization - no 100% effect (especially on fast Intels). :(

Truth is somethere near... keep searching...

p.s. There's one feature: if I try to play sound thru console after initialization ends - it heard only every THIRD time! Weird isn't it?
#8
01/15/2008 (8:16 am)
Sounds like you seriously should update your totally outdated mainboard drivers and sound drivers ... :-)
#9
01/15/2008 (11:21 pm)
EUREKA! I noticed that one of my *.ogg sounds were STEREO! I converted it into mono (as all others) - and thats all - problem solved! Weird, but true.

p.s. Hey, Marc, you think that we, russians, use counting frame instead of computer? =)
#10
01/16/2008 (12:11 am)
No not really. But this kind of issue badly remind me of the time where I updated all drivers beside the mainboard drivers (especially the intel chipset drivers) and sound drivers as they were "no problem normally" ... that normally turned out to be wrong as the whole system performance raised seriously with games after my CPU wasn't forced to do everything anymore :)