Game Development Community

AudioEmitter.cc bug

by Stefan Lundmark · in Torque Game Engine · 05/11/2004 (2:27 am) · 3 replies

Don't know exactly where yet, but when facing a certain direction, then quickly turning the opposite direction, you can easily get two or more instances of the same sound to play over each other and it's VERY irritating to hear.

Going to dig into this right now so if anyone has any additional comments please post them now.

PS. The other threads doesn't seem to have mentioned this and they also haven't updated in a while too. DS

Edit: Seems like it ain't in the emitter code, and rather in the audio.cc file :S it's something with the ogg vorbis..

#1
05/11/2004 (2:44 am)
Well... sound doesn't work exactly perfectly for me... but I'm using an integrated sound car (laptop), so I'm waiting to test it on a real Sound Blaster or similar...
#2
05/11/2004 (3:10 am)
It doesn't work nicely on my SBLive either.
Well, normal sound does, mostly - but not emitter ones.

I tried changing to .wav instead of .ogg and now it works fine.
That's not a solution though, I guess.

Something else that's wicked with the Emitters (which Billy ScE pointed out for me) is that MaxDistance isn't called when you're using a non-gap looping sound in 3D.

Try setting the loop gaps to 0/0 and you'll see.
Another thing is that when you're using a loopgap, move out from the maxdistance and back in, the sound won't update until you're really close, I think. Not sure about the last one but I'll check it out again.
#3
06/24/2004 (11:20 am)
Soundblaster drivers used to be among the best, but I'd rate them quite low now (at 25MB, how good COULD they be?).

Asfter years as a huge proponent of those cards as pinnacles of canonical driver behavior for Roger Wilco, but I have seen so many games whose *volume controls* don't work with SBLive (the volume of game sounds are always at max, though the sliders in the games' control panels worked correctly for all other cards) that I will never own another SBLive card.

IMHO, my dim view of SBLive cards would lead me to judge defects found only on them as SB bugs and not necessarily game code bugs.

tone