Linux Frodo audio channel remap
hi there!

I have an Asrock 330HT and, as some of you may know, it has a wrong channel mapping for HDMI, which means that the audio output is wrong. For example, on Rear left I get the center, center is rear left and the subwoofer and rear right are also changed.

On films I don't have any problems, as they usually are DD or DTS and audio is bistreamed, but for 5.1 music it's a big problem.

Any ideas how to solve this?

Ok, so I was able to fix it. After seeing some sample files and playing a bit around, the fix is as follows:

Put in the asound.conf file the following text and, in xbmc, select Default (HDA NVidia HDMI 0) as audio output device.

pcm.!default {
    type plug
    slave {
        pcm both

pcm.both {
    type route
    slave {
        pcm hdmi
       ttable.0.0 1
       ttable.1.1 1
       ttable.2.4 1
       ttable.3.5 1
       ttable.4.2 1
       ttable.5.3 1
In what folder should the asound.conf be placed?
Put the config in home directory of the xbmc user, named .asoundrc. This way the config will persist if XBMC is upgraded.
@PatrickVogeli, thank you so much for this asoundrc file! I've finally fixed my channel mapping issue on my 330HT now. Haven't done extensive testing yet, will use the sample posted here later this week to do some more thorough testing.
@ PatrickVogeli

Updated wiki old page to reflect your updates

Feel free to improve on this information on the wiki.

I also added this as a discussion thread on this topic for reference purposes.

This page is also linked to in Linux Audio issues FAQ.

Feel free anyone to update the page with more conclusive and detailed information as needed.

I've updated the wiki with what I came up with in another thread:

Logout Mark Read Team Forum Stats Members Help
Frodo audio channel remap1
This forum uses Lukasz Tkacz MyBB addons.