Rhythmbox/Flash interfere with sound in XBMC
#1
Recently, I've found if I have Rhythmbox or a Firefox window with a Flash video open (not necessarily playing, just open), sound doesn't work in XBMC (I get a "Failed to initialize audio device" error). If I stop the video in XBMC, close Rhythmbox and/or the browser window with the Flash video and try again, audio works fine.

Here's a log of the failure: http://pastebin.ca/1773637
The relevant error messages seem to be:
Code:
17:04:09 T:2918280048 M:1997877248   ERROR: Initialize - failed to open custom device hdmi:AES0=0x6,AES1=0x82,AES2=0x0,AES3=0x2, retry with default hdmi
17:04:09 T:2918280048 M:1996996608   ERROR: Initialize - pcm_open_lconf, alsa error: -16 - Device or resource busy

Here's a log of opening the same file with no error: http://pastebin.ca/1773643


Mythbuntu 9.10
kernel: 2.6.31-17-generic-pae
xbmc: 1:9.11-karmic1 (SVN rev: 26018)
alsa-base: 1.0.20+dfsg-1ubuntu5
alsa-utils: 1.0.20-2ubuntu6
libasound2: 1.0.20-3ubuntu6.1
libpulse0: 1:0.9.19-0ubuntu4.1

I do not have any pulseaudio* packages installed.

/etc/asound.conf:
Code:
pcm.dmixer {
type dmix
ipc_key 1024
ipc_key_add_uid false
ipc_perm 0660
slave {
pcm "hw:0,3"
rate 48000
channels 2
period_time 0
period_size 1024
buffer_time 0
buffer_size 4096
}
}

pcm.!default {
type plug
slave.pcm "dmixer"
}
Reply

Logout Mark Read Team Forum Stats Members Help
Rhythmbox/Flash interfere with sound in XBMC0