[PATCH]: High-definition audio pass-through support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 11/17/2011 10:14 PM, Kelly Anderson wrote:
> Hi,
>
> I finally got around to working out the kinks to pass-through
> high-definition audio
> in Xbmc. Funny how long it took me to get back to it. I was re-reading some
> emails on the list from way back in March and one of the emails turned
> me on to
> a proper solution. One thing that I wasn't able to do was to get PulseAudio
> to pass-through 8 channel audio when the device's sink was set as
> hdmi-stereo.
>
> So I patched PulseAudio 1.1 for hdmi-surround-71 and lo and behold it
> worked.
> Here's a patch, hopefully we can get this added in the next official
> release
> of PulseAudio. I know that there are quite a few Xbmc users that have
> been anxiously
> waiting for high-definition audio pass-through to work correctly. Of
> course if someone
> has a better solution, that would be fine too.
>
> --- ./src/modules/alsa/mixer/profile-sets/default.conf.orig 2011-10-20
> 06:54:16.000000000 -0600
> +++ ./src/modules/alsa/mixer/profile-sets/default.conf 2011-11-17
> 02:16:00.038900536 -0700
> @@ -173,6 +173,12 @@ channel-map = left,right
> priority = 4
> direction = output
>
> +[Mapping hdmi-surround-71]
> +device-strings = hdmi:%f
> +channel-map =
> front-left,front-right,rear-left,rear-right,front-center,lfe,side-left,side-right

I've been experimenting with enabling such stuff in Ubuntu, but never 
got any positive or negative feedback about it. FYI, I'm attaching what 
we're shipping for Nvidia and Intel (as part of the jack detection 
stuff) in Ubuntu 11.10.

And Colin, you're right: this isn't passthrough, this is multichannel PCM.

-- 
David Henningsson, Canonical Ltd.
http://launchpad.net/~diwic
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: extra-hdmi.conf
URL: <http://lists.freedesktop.org/archives/pulseaudio-discuss/attachments/20111121/d2969a92/attachment.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: hdmi-output-0.conf
URL: <http://lists.freedesktop.org/archives/pulseaudio-discuss/attachments/20111121/d2969a92/attachment.asc>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: hdmi-output-1.conf
URL: <http://lists.freedesktop.org/archives/pulseaudio-discuss/attachments/20111121/d2969a92/attachment.txt>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: hdmi-output-2.conf
URL: <http://lists.freedesktop.org/archives/pulseaudio-discuss/attachments/20111121/d2969a92/attachment-0001.asc>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: hdmi-output-3.conf
URL: <http://lists.freedesktop.org/archives/pulseaudio-discuss/attachments/20111121/d2969a92/attachment-0001.txt>


[Index of Archives]     [Linux Audio Users]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux