Kodi Community Forum

Full Version: Failed to initialize audio device
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi,

I have some files my XBMC can't play audio which are; 1) mp3 24000Hz mono and 2) mp3 44100Hz mono files. When I play 1) files, XBMC shows the error "failed to initialize audio device Check your audiosettings". Playing 2) files, no error but no audio. Please help.

My XBMC is running with;

Ubuntu 9.04, 2.6.28-19-generic i686
SVN:33324

Audio Output Device: custom
Custom audio device: mixed-digital
Passthrough Output Device: custom
Custome passthrough device: digital

.asoundrc is as below. Guessing this cause the problem but completely not familiar with this...
Quote:pcm.!default {
type plug
slave.pcm "dmix-digital"
}

ctl.!default {
type hw
card 0
}

pcm.analog {
type plug
slave.pcm "analog-hw"
}

ctl.analog {
type hw
card 0
}

pcm.mixed-analog {
type plug
slave.pcm "dmix-analog"
}

ctl.mixed-analog {
type hw
card 0
}

pcm.digital {
type plug
slave.pcm "digital-hw"
}

ctl.digital {
type hw
card 0
}

pcm.mixed-digital {
type plug
slave.pcm "dmix-digital"
}

ctl.mixed-digital {
type hw
card 0
}


pcm.analog-hw {
type hw
card 0
# The default value for device is 0, so no need to specify
}

ctl.analog-hw {
type hw
card 0
}

pcm.digital-hw {
type hw
card 0
device 3
}

ctl.digital-hw {
type hw
card 0
}

pcm.dmix-analog {
type dmix
ipc_key 1234
slave {
pcm "analog-hw"
period_time 0
period_size 1024
buffer_size 4096
rate 48000
}
}

ctl.dmix-analog {
type hw
card 0
}

pcm.dmix-digital {
type dmix
ipc_key 1235
slave {
pcm "digital-hw"
period_time 0
period_size 2048
buffer_size 32768
rate 48000
}
}

ctl.dmix-digital {
type hw
card 0
}

And xbmc.log is here.

Thanks a lot!

Kyouhei