LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This 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


Reply
  Search this Thread
Old 06-11-2004, 10:50 AM   #16
MorningStar
LQ Newbie
 
Registered: Aug 2003
Location: Columbus, OH
Distribution: Mandrake 9.1
Posts: 4

Rep: Reputation: 0

Quote:
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.
 
Old 07-01-2007, 09:45 PM   #17
desertc
LQ Newbie
 
Registered: May 2007
Posts: 6

Rep: Reputation: 0
Try restarting your sound driver.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Mplayer sound error: "Could not open/initialize audio device -> no sound" GTBlackwell Linux - Software 9 06-11-2008 02:23 PM
XMMS: "Cannot open audio" bikecoop Linux - Software 10 09-01-2005 12:14 AM
Looking for an audio player with "Internet Radio" list michaely Linux - Software 2 09-09-2004 06:14 PM
"Unable to open USB device "usb://hp/LaserJet%201000": No such device" lordshipmayhem Mandriva 2 08-08-2004 04:56 PM
CD Player. Sound only works with Kaffeine, XMMS is "silent" :( m15a4 Linux - General 1 07-10-2004 01:32 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:43 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration