2009-06-23, 08:58
I've been struggling with xbmc to find a way to make it work with pulse and my spdif interface, as I need it for it's network sink abilities. Thus far the only way I can seem to make it behave is to simply kill it as per all the other recommendations. I've found using mplayer by itself works fine with my configuration without having to kill pulse, so why does xbmc have these issues? I just finished compiling the current svn pulled today, as well as ubuntu jaunty repository ppa's.
My setup is this: Ubuntu Jaunty, pci sound card using stereo analog channels along with iec958 output to a receiver. Xbmc has digital audio enabled, ac3, dts, with normal sound to "default", and pass-through for "iec958", both valid with aplay -L. I tried in vein to make it work sanely with only the iec958, but I run into the problem with pulse locking to the device. Now in xbmc I have pulse running on the analog channels just fine, with no pulse control on the iec958 interface. I've even tried disabling hal and statically setting the pulse sink to the analog channels. Any time I launch xbmc, it still tries first to talk to pulse, then tries alsa on the iec958 port, and responds it as busy. If I kill pulse, it connects fine to the iec958, but not unless. Again, mplayer uses the iec958 just fine WITH pulse still operational. I get this from debugs:
23:29:20 T:2958842768 M:1655480320 ERROR: PulseAudio: Passthrough not possible
23:29:20 T:2958842768 M:1655480320 DEBUG: CALSADirectSound::CALSADirectSound - Channels: 2 - SampleRate: 48000 - SampleBit: 16 - Resample false - Codec DTS - IsMusic false - IsPassthrough true - audioDevice: default
23:29:20 T:2958842768 M:1655480320 DEBUG: Initialize - using alsa device iec958:AES0=0x6,AES1=0x82,AES2=0x0,AES3=0x2
and later:
23:29:20 T:2958842768 M:1656713216 ERROR: Initialize - failed to open custom device iec958:AES0=0x6,AES1=0x82,AES2=0x0,AES3=0x2, retry with default iec958
23:29:20 T:2958842768 M:1656713216 ERROR: Initialize - pcm_open_lconf, alsa error: -16 - Device or resource busy
23:29:20 T:2958842768 M:1656713216 ERROR: Creating a Null Audio Renderer, Check your audio settings as this should not happen
I saw others in the sticky pulse thread respond they're using it with pulse just fine, but any ideas why mine will not allow me to bind to the iec958 port with pulse? TIA....
My setup is this: Ubuntu Jaunty, pci sound card using stereo analog channels along with iec958 output to a receiver. Xbmc has digital audio enabled, ac3, dts, with normal sound to "default", and pass-through for "iec958", both valid with aplay -L. I tried in vein to make it work sanely with only the iec958, but I run into the problem with pulse locking to the device. Now in xbmc I have pulse running on the analog channels just fine, with no pulse control on the iec958 interface. I've even tried disabling hal and statically setting the pulse sink to the analog channels. Any time I launch xbmc, it still tries first to talk to pulse, then tries alsa on the iec958 port, and responds it as busy. If I kill pulse, it connects fine to the iec958, but not unless. Again, mplayer uses the iec958 just fine WITH pulse still operational. I get this from debugs:
23:29:20 T:2958842768 M:1655480320 ERROR: PulseAudio: Passthrough not possible
23:29:20 T:2958842768 M:1655480320 DEBUG: CALSADirectSound::CALSADirectSound - Channels: 2 - SampleRate: 48000 - SampleBit: 16 - Resample false - Codec DTS - IsMusic false - IsPassthrough true - audioDevice: default
23:29:20 T:2958842768 M:1655480320 DEBUG: Initialize - using alsa device iec958:AES0=0x6,AES1=0x82,AES2=0x0,AES3=0x2
and later:
23:29:20 T:2958842768 M:1656713216 ERROR: Initialize - failed to open custom device iec958:AES0=0x6,AES1=0x82,AES2=0x0,AES3=0x2, retry with default iec958
23:29:20 T:2958842768 M:1656713216 ERROR: Initialize - pcm_open_lconf, alsa error: -16 - Device or resource busy
23:29:20 T:2958842768 M:1656713216 ERROR: Creating a Null Audio Renderer, Check your audio settings as this should not happen
I saw others in the sticky pulse thread respond they're using it with pulse just fine, but any ideas why mine will not allow me to bind to the iec958 port with pulse? TIA....