Bug 144086 - bzflag sound broken
Summary: bzflag sound broken
Status: RESOLVED NORESPONSE
Alias: None
Product: SUSE Linux 10.1
Classification: openSUSE
Component: Sound (show other bugs)
Version: Beta 1
Hardware: Other Other
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: Pavol Rusnak
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-19 13:36 UTC by Andreas Schwab
Modified: 2007-12-12 09:47 UTC (History)
0 users

See Also:
Found By: Other
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Schwab 2006-01-19 13:36:00 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.
Comment 1 Mads Martin Joergensen 2006-01-23 14:12:21 UTC
Ok, building bzflag without it for now.
Comment 2 Andreas Schwab 2006-10-02 13:05:32 UTC
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>.
Comment 3 Pavol Rusnak 2007-04-03 09:49:11 UTC
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.
Comment 4 Andreas Schwab 2007-04-03 11:09:40 UTC
Yes, it is.
Comment 5 Pavol Rusnak 2007-04-03 14:46:47 UTC
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) 
Comment 6 Andreas Schwab 2007-04-03 14:50:09 UTC
You need to use SDL-devel.
Comment 7 Pavol Rusnak 2007-04-03 14:59:23 UTC
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.
Comment 8 Andreas Schwab 2007-04-03 15:02:33 UTC
Still broken.
Comment 9 Pavol Rusnak 2007-04-03 15:23:44 UTC
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 ...
Comment 10 Andreas Schwab 2007-04-03 15:26:10 UTC
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?
Comment 11 Pavol Rusnak 2007-04-03 15:34:09 UTC
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/*
Comment 12 Andreas Schwab 2007-04-03 15:38:04 UTC
As I already wrote in comment #2 this is a bug in the alsa driver.
Comment 13 Pavol Rusnak 2007-04-03 15:41:17 UTC
Yes it is and I'm trying to find out, which ALSA device you are using, because I cannot reproduce it on 'default' device.
Comment 14 Andreas Schwab 2007-04-03 15:43:04 UTC
What other devices are there?
Comment 15 Pavol Rusnak 2007-04-03 16:03:50 UTC
So I suppose you are using default.
My last question: are you testing this on IA64 machine?
Comment 16 Pavol Rusnak 2007-12-12 09:47:49 UTC
No response for 8 months. Closing.