Kodi Community Forum
Linux Frodo audio channel remap - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111)
+---- Forum: Linux (https://forum.kodi.tv/forumdisplay.php?fid=52)
+---- Thread: Linux Frodo audio channel remap (/showthread.php?tid=147733)



Frodo audio channel remap - PatrickVogeli - 2012-12-09

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!


RE: Frodo audio channel remap - PatrickVogeli - 2012-12-09

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
}



RE: Frodo audio channel remap - waituna - 2012-12-11

In what folder should the asound.conf be placed?


RE: Frodo audio channel remap - mcfang - 2012-12-14

Put the config in home directory of the xbmc user, named .asoundrc. This way the config will persist if XBMC is upgraded.


RE: Frodo audio channel remap - srv1973 - 2012-12-16

@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/csnm34xap2176sv/Channel%20Check%20Lots%20of%20Formats.mkv later this week to do some more thorough testing.


RE: Frodo audio channel remap - un1versal - 2012-12-18

@ PatrickVogeli

Updated wiki old page to reflect your updates

http://wiki.xbmc.org/index.php?title=HOW-TO:Remap_HDMI_audio_on_Gen_1_ION_-_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=XBMC_for_Linux_specific_FAQ#HDMI_Channel_Audio_remapping

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

uNi


RE: Frodo audio channel remap - HunterZ - 2013-02-06

I've updated the wiki with what I came up with in another thread: http://forum.xbmc.org/showthread.php?tid=90910&pid=1320755#pid1320755