After installing the latest version of XBMC (9.11 repack), I noticed a lot of the small issues I was having with previous builds were fixed in this version. Pretty much everything could be handled via the configuration interface, but I found that I couldn’t keep the crossfade option enabled, otherwise I would get a ‘failed to initialize audio device’ when trying to stream the audio via HDMI and moving from track to track.
I quickly googled the issue and found a recommended solution on an XBMC.org thread, but the blog post they linked to was having a database connection error. I found a google-cached version of the website and figured I would post a copy on my blog as well in case other people are looking for the solution.
**Note: If you are looking for the blog post on using the Revo with XBMC as a cheap HTPC check out this post which includes the backhistory on why I chose the Revo as well as installation instructions.
The solution is fairly simple:
- Download the asoundrc.txt file (contents shown below)
- Copy the file to the /home/xbmc directory
- Rename the file from asoundrc.txt to .asoundrc
- Change the audio output device to default (under System > Settings > System > Audio Output)
- Restart XBMC and crossfading should now be working.
pcm.!default {
type plug
slave.pcm "dmixer"
}
pcm.dsp0 {
type plug
slave.pcm "dmixer"
}
pcm.dmixer {
type dmix
ipc_key 1024
slave {
pcm "hw:0,3"
period_time 0
period_size 1024
buffer_size 8192
#periods 128
rate 44100
}
bindings {
0 0
1 1
}
}
ctl.mixer0 {
type hw
card 0
}
Leave a Reply