Real Player and XMMS "Cannot open audio device" - SuSE 9 pro
Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Originally posted by Rounan What's happening is you're using XMMS to play to your soundcard (using either ALSA or OSS - ALSA has an emulation layer for OSS, so if you have ALSA installed, that's what would be used).
Gnome, I believe, uses the ESD sound daemon - this program also wants to control the soundcard. It probably has a timeout, after which it relinquishes control again.
So, what happens is:
XMMS has control, and plays music happily. During this time, ESD tries to generate sound events, but the card is locked by XMMS - so it waits.
XMMS tries to change tracks, and momentarily frees the card
ESD jumps in, plays its queued sounds, and then waits for the timeout before giving up the card again
Meanwhile, XMMS tries to play the next track, finds the card locked, and instead of waiting it gives the "cannot open audio" error.
What you need to do:
make XMMS output to ESD. This way, esd controls all audio, and only one program needs to own the card at a time.
How? It should be an output option. If not, there should be a plugin - there's an xmms-arts plugin for KDE, but I can't find an equivalent for ESD (in gentoo's tree, anyway).
Search the forums. There's definitely an answer here. probably several. I know I've posted information similar to this at least 5 times.
--Rounan
Thanks for the post - I've been searching, haven't really seen anything - but you've described my problem perfectly. I don't see ESD, but options similar to the post below, plus aRTS (which still didn't hope). I'll see if I can grab an ESD plugin for XMMS.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.