2013-01-05, 10:46
I'm new here, so be gentle. I wanted to share a how-to I found.
Ever since building a new home theater setup and finally taking the plunge into surround sound I've been extremely irritated at the incorrectly mapped HDMI audio channels on my ASRock 330ION. So, to begin I tried following this guide. Yes, it worked and passthrough to my receiver is wonderful. However, this broke audio in some applications that I launch with advanced launcher and caused all kinds of other audio problems in xubuntu 12.04.
Next I decided to try another method, remapping in pulseaudio. I was directed to this post a few times. However, I could never get it to work.
I kept on googling until I found a much simpler method. This worked for me. Pretty damn simple.
I changed the order of the channels in /usr/share/pulseaudio/alsa-mixer/profile-sets/extra-hdmi.conf for all entries which needed remapping like so:
The order of the channels will depend on which ones are mixed up for you. You just need to tell XBMC that your receiver isn't capable of decoding anything on it's own. Since pulseaudio still doesn't play nice with passthrough in ubuntu 12.04. Also, the audio output device can just be set to Pulseaudio defaults. It would figure that I get this fixed right before I upgrade to an i3 Ivy Bridge with HD4000 graphics, which I'm sure will have it's own problems
My receiver says it's receiving 5.1 multichannel PCM, so I would assume that XBMC is just converting the Dolby Digital and DTS and sending it in PCM format. The sounds from the speakers seem correct to me.
I don't know if anyone else out there is still rocking an ION-based setup, but this may prove useful.
Ever since building a new home theater setup and finally taking the plunge into surround sound I've been extremely irritated at the incorrectly mapped HDMI audio channels on my ASRock 330ION. So, to begin I tried following this guide. Yes, it worked and passthrough to my receiver is wonderful. However, this broke audio in some applications that I launch with advanced launcher and caused all kinds of other audio problems in xubuntu 12.04.
Next I decided to try another method, remapping in pulseaudio. I was directed to this post a few times. However, I could never get it to work.
I kept on googling until I found a much simpler method. This worked for me. Pretty damn simple.
I changed the order of the channels in /usr/share/pulseaudio/alsa-mixer/profile-sets/extra-hdmi.conf for all entries which needed remapping like so:
Quote:[Mapping hdmi-surround]
description = Digital Surround 5.1 (HDMI)
device-strings = hdmi:%f
paths-output = hdmi-output-0
channel-map = front-left,front-right,front-center,lfe,rear-left,rear-right
priority = 3
direction = output
The order of the channels will depend on which ones are mixed up for you. You just need to tell XBMC that your receiver isn't capable of decoding anything on it's own. Since pulseaudio still doesn't play nice with passthrough in ubuntu 12.04. Also, the audio output device can just be set to Pulseaudio defaults. It would figure that I get this fixed right before I upgrade to an i3 Ivy Bridge with HD4000 graphics, which I'm sure will have it's own problems
My receiver says it's receiving 5.1 multichannel PCM, so I would assume that XBMC is just converting the Dolby Digital and DTS and sending it in PCM format. The sounds from the speakers seem correct to me.
I don't know if anyone else out there is still rocking an ION-based setup, but this may prove useful.