You are not logged in.
In another thread we narrowed it down that defaults.pcm.dmix.rate 48000 in alsa.conf causes XBMC to crash when it plays certain videos. If I comment out defaults.pcm.dmix.rate the videos play fine but I don't have any sound system wide. Any ideas on how to rectify this?
Offline
Are those "certain videos" encoded at 44.1khz?
Is it only XBMC that has a problem?
Offline
yes and yes.
Last edited by brando56894 (2011-11-15 06:06:49)
Offline
Can someone please help me with this? This is the second "one-shot" answer I've gotten with this issue. I'm willing to fix it myself, I just have absolutely no idea what to do.
Offline
What happens if you just change it to 44100? Does it still play 48000 files then? Do you have libsamplerate installed? Did you install pulseaudio by accident?
Offline
If I change it to anything the crashes still happen, the only way they don't happen is if I comment that line out, but then I don't have any sound. Nothing for pulseaudio is installed, although it does complain about not being able to access pulseaudio.
20:06:35 T:139776137090816 M:5579362304 NOTICE: Creating audio device with codec id: 86017, channels: 2, sample rate: 44100, no pass-through
20:06:35 T:139776137090816 M:5578346496 ERROR: PulseAudio: Failed to connect context
20:06:35 T:139776137090816 M:5578346496 ERROR: PulseAudio: Failed to create context
20:06:35 T:139776145483520 M:5576638464 NOTICE: fps: 23.976025, pwidth: 720, pheight: 400, dwidth: 720, dheight: 400
libsamplerate is installed:
[bran@ra ~]$ query libsamplerate
libsamplerate 0.1.8-1
Last edited by brando56894 (2011-11-17 23:07:30)
Offline
What do you have under system>system>audio output device?
Offline
I'm running KDE, but I have my internal sound card configured: HDA Intel (ALC889 Analog)
Offline
That was for within xmbc.
Offline
Ok, it just says default
Offline
Try each one. Mine says Default.alsa. With capital letters. But I'm also using pulseaudio. I know nothing of KDE's setup.
Offline
These are the available output devices: default, defaults, hdmi, custom, iec958
These are the ones that work but cause crashes: default, defaults
all the others produce "cannot find output device"
here is the relevant section from my guisettings.xml
<audiooutput>
<ac3passthrough>true</ac3passthrough>
<audiodevice>default</audiodevice>
<channellayout>0</channellayout>
<customdevice></customdevice>
<custompassthrough></custompassthrough>
<dontnormalizelevels>true</dontnormalizelevels>
<dtspassthrough>true</dtspassthrough>
<mode>0</mode>
<passthroughaac>false</passthroughaac>
<passthroughdevice>iec958</passthroughdevice>
<passthroughmp1>false</passthroughmp1>
<passthroughmp2>false</passthroughmp2>
<passthroughmp3>false</passthroughmp3>
</audiooutput>
Offline