Bugzilla – Bug 144086
bzflag sound broken
Last modified: 2007-12-12 09:47:49 UTC
Sound is pretty broken in bzflag. That appears to be connected with SDL, as building without SDL will result in working sound. The symptom appears to be wrong sample rate, the samples are played too fast.
Ok, building bzflag without it for now.
That appears to be a bug in the alsa driver of SDL, as switching to the dsp driver in bzflag gives a working sound. See also <http://sourceforge.net/tracker/index.php?func=detail&aid=1467813&group_id=3248&atid=103248>.
Is this issue present in openSUSE 10.2 (bzflag 2.0.8, SDL 1.2.11 and SDL_mixer (1.2.7) or newer? I don't think so and if you will confirm this, I will close this issue as we are not going to fix SL10.1.
Yes, it is.
I rebuilt bzflag with SDL (added sdl-devel to BuildRequires and --with-sdl-prefix=/usr to configure) and set Driver to 'alsa' and Device to 'default' in bzflag. I still can not reproduce the faulty behaviour from comment #0. What am I doing wrong? (bzflag-2.0.8-30 and SDL-1.2.11-40)
You need to use SDL-devel.
Of course I'm using SDL-devel as stated on the first line of comment #5. SDL-devel has the same version as SDL package.
Still broken.
I cannot fix this bug, unless you give me proper information. So please run this commands and attach their output: rpm -qa bzflag rpm -qa SDL rpm -qa SDL-devel Also please write down how did you manage to build bzflag with SUSE patches against SDL as the version we are shipping is built without it (I wrote my way: adding SDL-devel to BuildRequires and --with-sdl-prefix=/usr to configure). You can also attach strace output of bzflag. "Still broken." is not helping much ...
bzflag-2.0.8-31 SDL-1.2.11-41 SDL-devel-1.2.11-41 What do you need -with-sdl-prefix=/usr for?
I added this line just to be sure, I don't think it is necessary. Please provide Options / Audio settings in bzflag: Driver: ? Device: ? Remote sounds: ? ... or even better attach $HOME/.bzf/2.0/*
As I already wrote in comment #2 this is a bug in the alsa driver.
Yes it is and I'm trying to find out, which ALSA device you are using, because I cannot reproduce it on 'default' device.
What other devices are there?
So I suppose you are using default. My last question: are you testing this on IA64 machine?
No response for 8 months. Closing.