Just wanted to mention a channel mapping issue i had while i was uprgading my XBMCbuntu 12 box with a XFX Geforce 9300 mainboard.
I always set XBMC to resample audio and sync video to soundcard, that way i get flickerfree movies.
This means i need to use LPCM for sound to my surround. And here is where the problem started.
My center channel was moved to Rear Right. :-(
While xbmc is running but movie is stopped i can do the following from an putty SSH session.
xbmc@KANON:~$ speaker-test -D hdmi -c 6
I hear that the mainboard clearly mapped the channels wrong.
While it is playing this
> 0 - Front Left
> 4 - Center
> 1 - Front Right
> 3 - Rear Right
> 2 - Rear Left
> 5 - LFE
i hear the real order as:
Front Left
Rear Left
Front Right
LFE
Center
Rear Right
Editing the alsa userconfig with
xbmc@KANON:~$ nano .asoundrc
and put the following in the empty file:
pcm.hdmi-remap{
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
}
testrun:
xbmc@KANON:~$ speaker-test -D hdmi-remap -c 6
works butiful :-)
Rebooted XBMC machine and now i have a new device in the audiosettings:
After a quic test in a movie i finally have my center in the center speaker :-)