Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 38396 - sound in gnubg doesn't work on some (all?) big endian machines
Summary: sound in gnubg doesn't work on some (all?) big endian machines
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Jeremy Huddleston (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-01-16 05:13 UTC by Jonathan Nall
Modified: 2004-07-12 22:14 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jonathan Nall 2004-01-16 05:13:05 UTC
gnubg supports esd, artsc, nas, as well as being able to talk to the sound card itself. sadly, it defaults to the last of these. there are a set of ifdef's in sound.c that need to be reordered to choose the "SIGIO" method last. i have to get to work and don't have a patch, but can confirm that this fixed sound for me (i have a G4 powerbook). this problem may be prevalent on other big endian systems (sparc).
Comment 1 Mr. Bones. (RETIRED) gentoo-dev 2004-03-06 17:50:42 UTC
Not really sure what to do about this bug.  We only support gnubg on x86 currently so this isn't a bug in an existing setup.
Comment 2 Jonathan Nall 2004-03-06 17:58:06 UTC
and my comment is that it's quite easy to support more platforms than just x86. merely change the order of the ifdefs. 
Comment 3 Mr. Bones. (RETIRED) gentoo-dev 2004-04-06 00:40:53 UTC
See if you have any more fun with gnubg-0.14.2 
Comment 4 Jeremy Huddleston (RETIRED) gentoo-dev 2004-07-06 01:41:48 UTC
I'll take a look at this for sparc.
Comment 5 Jeremy Huddleston (RETIRED) gentoo-dev 2004-07-12 22:14:06 UTC
"jus works" fine on sparc.  Defaults to "raw device" for the sound output which I believe is /dev/dsp.  Audio played fine for me.

Added to ~sparc.