Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#9247 - SDL uses OSS not ALSA

Attached to Project: Arch Linux
Opened by Rodrigo Coacci (rcoacci) - Friday, 18 January 2008, 03:34 GMT
Last edited by Allan McRae (Allan) - Sunday, 19 October 2008, 02:56 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Tom Killian (tomk)
Allan McRae (Allan)
Architecture All
Severity Medium
Priority Normal
Reported Version 2007.08-2
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 2
Private No

Details

Description:
SDL uses OSS instead of ALSA as default
Please, either recompile with --disable-oss or add an entry to /etc/conf.d exporting SDL_AUDIODRIVER=alsa. Maybe the latter is better


This task depends upon

Closed by  Allan McRae (Allan)
Sunday, 19 October 2008, 02:56 GMT
Reason for closing:  Won't fix
Additional comments about closing:  See comment
Comment by Roman Kyrylych (Romashka) - Saturday, 19 January 2008, 17:58 GMT
Hm.. AFAIR SDL uses OSS only if it's available (alsa-oss installed).
Comment by Rodrigo Coacci (rcoacci) - Saturday, 19 January 2008, 18:21 GMT
Well, I'm using fretsonfire, and unless I explicitly tell SDL to use alsa with export SDL_AUDIODRIVER=alsa it uses OSS, and I don't have alsa-oss installed. I know it does use OSS because the sound doesn't respect my alsa mixer settings (i.e. the sound is VERY LOUD).
Also, everywhere I found any documentation about SDL, it says that unless SDL isn't compiled with OSS, OSS is the default on Linux.
By the way, what I meant with /etc/conf.d was in fact to be put in /etc/profile.d
Comment by Greg (dolby) - Saturday, 17 May 2008, 16:39 GMT
Still a problem?
Comment by Rodrigo Coacci (rcoacci) - Saturday, 17 May 2008, 23:02 GMT
I just happen to have reinstalled Arch, so I'll install FoF and try again. ASA I have tested I'll come back
Comment by iugf86gyu (bb10) - Wednesday, 06 August 2008, 01:04 GMT
I have the same problem with XBMC. I have to tell it to use ALSA or it won't work.
Please fix this. :)
Comment by Allan McRae (Allan) - Sunday, 19 October 2008, 02:56 GMT
I going for a won't fix here for the following reasons. It is not what I consider a sensible default as it is not the prefered upstream sounds system and we try to follow what upstream does. It would also mean all those who wanted to use the dsp (OSS) audio driver would need to change the configuration even though it is supposed to be the default. Also, it is very simple for people experiencing this problem to put the export statement in their /etc/profile.

Loading...