There seems to be a bug in ioquake3 using OpenAL.
The music starts to hang after playing a while (typically after a few maps). A ~1 sec. sample is played in an infinite loop which is really annoying, please watch my video: http://www.youtube.com/watch?v=rQAu_YpnP2o
I can trace back this bug exactly to Revision 1712 (http://svn.icculus.org/quake3?view=rev&revision=1712). I reverted the changes made in snd_openal.c, and the music plays like a charm again. Thanks in advance!
Comment 1Zachary J. Slater
2012-01-21 16:28:34 EST
This bug is awesome. Turns the music into shitty death metal, nice find.
(In reply to comment #2)
> I've never had this bug. Have you tried a different version of OpenAL?
Also, please give exact steps how to reproduce if there are any.
Comment 4Zachary J. Slater
2013-02-17 03:33:05 EST
Still reproducible? Going once...
Comment 5Zachary J. Slater
2013-02-18 00:49:44 EST
Please reopen this bug if it is reproducible in the future.
I run into this bug all the time but I don't think it is was introduced in that revision. The bug also exists in the version prior to that.
Not sure how to reproduce it reliably.
Created attachment 3489[details]
Patch to implement S_ClearSoundBuffer in OpenAL
Patch to implement S_ClearSoundBuffer in OpenAL....fixes this bug with looping sounds and background tracks by clearing sources and regenerating buffers much like the Base sound implementation.
Created attachment 3489 [details] Patch to implement S_ClearSoundBuffer in OpenAL Patch to implement S_ClearSoundBuffer in OpenAL....fixes this bug with looping sounds and background tracks by clearing sources and regenerating buffers much like the Base sound implementation.