2011-11-24, 04:55
xchipx Wrote:Sorry for being stupid, but could someone explain to me how this is supposed to work?
I have an nvida gtx 260 card with HDMI out connected to my receiver.
I compiled pulseaudio with latest patch from this thread, audiofilter and xbmc from cbxbiker61's github links.
PA Passthrough using VLC works out of the box and regular audio plays like it should.
In XBMC I choose System -> Settings -> System -> Audio Output, and there I have the following choices:
Audio output: [HDMI, Optical/Coax, Analog]
Audio output device: [hdmi (ALSA), iec958 (ALSA), Defaults (ALSA), Internal Audio Digital Stereo (IEC958) (PulseAudio), Defaults (PulseAudio), Custom]
Passthrough device: [hdmi (ALSA), iec958 (ALSA), Custom)]
I guess I'm supposed to have the hdmi-surround-71 device? It doesn't work if I type it in manually using "Custom".
My PA_PROTOCOL_VERSION is 23.
Running Arch linux on 64bit
Greatful for any help regarding this.
BTW, I can get passthrough working through ALSA with PA killed
hdmi-surround71 should come up in your list of pass-through devices. If it doesn't, something is not quite right. You can use the pavucontrol to see what sinks are available for a specific device.
Yes, it's great that Alsa and PulseAudio seem to be working equally well, since some people will probably want to install on stripped-down machines dedicated to Xbmc and a plain Alsa setup would work just fine.
BTW, my PulseAudio pass-through code currently requires that the sink name starts with "hdmi-", that may be changed in the future but it currently works around a limitation in PulseAudio. That is the reason why you have to use hdmi-surround71, it won't work using a custom setup.