FrozenSand/ioq3-for-UrbanTerror-4

Kill sound played incorrectly

mickael9 opened this issue · 2 comments

Recently, I've been experimenting with running UrbanTerror on a modern ioQ3 build.

During this, I noticed the "kill sound" (sound/feedback/kill.wav) sounded differently.
At first I thought a map was overriding it, but no, it actually plays differently in the two engines.

This is how I hear it "normally" (with ioUrbanTerror): https://instaud.io/O3E and this is how I heard it with ioQ3: https://instaud.io/O3G

The second one is the original wav file, while the first is the same file with the rate set to half (11025 Hz). It looks like ioUrT plays the file at half the normal speed!

This happens whether dmaHD is enabled or not, but it plays fine using the OpenAL backend (by the way this is all on a Linux system)

I think this is the fix: ioquake/ioq3@1a86229

The bug seems to be present in dmaHD as well, I'm investigating how to fix it there.

Edit : I might be wrong here, but I think dmaHD doesn't actually support stereo sfx at all. I'd love @p5yc0runn3r's opinion on this since he's the one who made it :)

Thanks for your interest and investigations, keep us tuned!

I poked P5c0 :)