Linux Frodo audio channel remap
#1
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?

Thanks!
Reply
#2
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.

Code:
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
}
Reply
#3
In what folder should the asound.conf be placed?
Reply
#4
Put the config in home directory of the xbmc user, named .asoundrc. This way the config will persist if XBMC is upgraded.
Reply
#5
@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 https://www.dropbox.com/s/csnm34xap2176s...ormats.mkv later this week to do some more thorough testing.
Reply
#6
@ PatrickVogeli

Updated wiki old page to reflect your updates

http://wiki.xbmc.org/index.php?title=HOW...ON_-_Linux

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. http://wiki.xbmc.org/index.php?title=XBM..._remapping

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

uNi
Reply
#7
I've updated the wiki with what I came up with in another thread: http://forum.xbmc.org/showthread.php?tid...pid1320755
Reply

Logout Mark Read Team Forum Stats Members Help
Frodo audio channel remap1