: Sometimes XMMS stop playing songs (dmix used)
A NOTE has been added to this issue.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=209>
======================================================================
Reported By: srr
Assigned To:
======================================================================
Project: ALSA - firmware Issue ID: 209 Category: Reproducibility: sometimes Severity: minor Priority: normal Status: new ====================================================================== Date Submitted: 04-14-2004 11:41 CEST Last Modified: 01-19-2005 16:54 CET
======================================================================
Summary: Sometimes XMMS stop playing songs (dmix used)
Description:
Sometimes XMMS stop playing songs and show message that says "Audio device not
properly configured or busy". It happends when new song just start playing. If I click on Play button, songs continued playing.
I can't repeat this bug, it happends 3-5 times in day.
If i start mpg123 and xmms they are play simultaniously (even if i start 10
copies of mpg123)
This is output from xmms:
ALSA lib pcm_hw.c:1057:(snd_pcm_hw_open) open /dev/snd/pcmC0D0p failed:
Device
or resource busy
ALSA lib pcm_dmix.c:868:(snd_pcm_dmix_open) unable to open slave
** WARNING **: alsa_setup(): Failed to open pcm device (default): Device or
resource busy
======================================================================
----------------------------------------------------------------------
leahcim - 01-12-05 10:41
----------------------------------------------------------------------
I also see this mmap+dmix problem on two machines. Pausing and unpausing XMMS (rather than restarting the track) is sufficient to make sound output resume normally. Occasionally all sound-playing processes (ie. aplay, which I use for all system & mail alert sounds) will log-jam behind any xmms or aplay process that halts in this way.
ALSA 1.0.6 on kernels 2.6.10-rc3 and 2.6.10, running Debian sarge. I82801BAICH2 and CMI8738 audio hardware respectively.
----------------------------------------------------------------------
tiwai - 01-19-05 16:54
----------------------------------------------------------------------
It's likely a problem of xmms alsa output plugin.
Try the attached patch.
Issue History
Date Modified Username Field Change
======================================================================
04-14-04 11:41 srr New Issue 04-16-04 11:54 tiwai Note Added: 0000832 04-20-04 07:39 srr Note Added: 0000869 04-20-04 07:41 srr Issue Monitored: srr 10-14-04 22:40 chtephan Note Added: 0002160 10-20-04 20:42 martin Note Added: 0002218 11-28-04 18:33 martin Note Added: 0002626 01-12-05 10:41 leahcim Note Added: 0003161 01-12-05 10:41 leahcim Issue Monitored: leahcim
01-12-05 20:26 Dawid Gajownik Issue Monitored: Dawid Gajownik
01-19-05 16:54 tiwai Note Added: 0003296
======================================================================
-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt