Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 289542 - media-libs/openal-1.9.563 oss backend produces no audio
Summary: media-libs/openal-1.9.563 oss backend produces no audio
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Sound Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-10-18 02:56 UTC by Charles McGarvey
Modified: 2009-10-27 18:11 UTC (History)
0 users

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


Attachments
the upstream fix in patch form (openal-1.9.563-oss.patch,540 bytes, patch)
2009-10-18 06:11 UTC, Charles McGarvey
Details | Diff
oss bugs fixed upstream (openal-1.9.563-oss.patch,1.07 KB, text/plain)
2009-10-19 07:55 UTC, Charles McGarvey
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Charles McGarvey 2009-10-18 02:56:41 UTC
After upgrading two machines to the recently stable openal-1.9.563, a gentoo-x86 machine with ALSA works.  However, the gentoo-amd64 with OSS (that's OSS4--haven't tried the kernel version yet) has no sound output from openal apps.  The previous stable version (1.8.466) worked fine.

Reproducible: Always

Steps to Reproduce:
1. USE="-alsa openal oss"
2. emerge mplayer 
3. mplayer -ao openal somesound.ogg
4. observe the deafening silence




I haven't looked into any possible causes yet, but for now the workaround is just to mask the new version.
Comment 1 Charles McGarvey 2009-10-18 06:00:33 UTC
I just notified upstream and it was a bug he was able to find and fix on the spot.  So, this is fixed in the upstream repository.  Will you accept a patch into portage so this doesn't have to be broken until the next release?  Something like this should work:

sed -i -e "s/\!pDevice->Connected/pDevice->Connected/" Alc/oss.c
Comment 2 Charles McGarvey 2009-10-18 06:11:45 UTC
Created attachment 207448 [details, diff]
the upstream fix in patch form
Comment 3 Charles McGarvey 2009-10-19 07:55:04 UTC
Created attachment 207536 [details]
oss bugs fixed upstream

As long as you're going to patch openal-1.9.563 in portage (and I think you should since OSS playback is basically broken, here's a patch that includes another fix for a long-standing OSS bug which was made more severe in 1.9.563 (terminating playback) which was also fixed upstream just a few minutes ago.
Comment 4 Samuli Suominen (RETIRED) gentoo-dev 2009-10-27 18:11:02 UTC
+*openal-1.9.563-r1 (27 Oct 2009)
+
+  27 Oct 2009; Samuli Suominen <ssuominen@gentoo.org>
+  +openal-1.9.563-r1.ebuild, +files/openal-1.9.563-oss.patch:
+  Upstream patch for OSS backend wrt #289542, thanks to Chaz McGarvey for
+  reporting.

And sorry for the delay.