ALSA 5.1 over HDMI: calling all ALSA experts!
#1
Context - OpenElec, ZOTAC IONITX-G-E Synergy. This has incorrect mappings which mean that unless they're remapped, the centre channel comes out of the back right, etc... Undecided

I've got an HDMI connection into an AV receiver (which I know is working properly).
I've not even got to XBMC yet, I'm trying to get speaker-test to work first Big Grin

I've got a couple of asound.conf files:
Code:
pcm.hdmi-remap {
    type route
    slave {
        pcm hdmi
        channels 6
        }
        ttable {
        0.0=1
        1.1=1
        2.4=1
        3.5=1
        4.2=1
        5.3=1
        }
    }

  pcm.!default {
     type plug
     slave.pcm hdmi-remap
}
This one doesn't work as designed. Using speakertest -c6, Front left (0) and front right (1) come out fine and the rest are silent.
This one, on the other hand, is different:
Code:
pcm.hdmi-remap {
    type route
    slave {
        pcm hdmi
        channels 6
        }
        ttable {
        #0.0=1
        1.1=1
        2.4=1
        3.5=1
        4.2=1
        5.3=1
        }
    }

  pcm.!default {
     type plug
     slave.pcm hdmi-remap
}
This works PERFECTLY...apart from channel 0, front left. The only change is the ttable 0.0=1 is commented out. Why does adding the channel 0 ttable redirection break the entire thing? Please help!!

(n.b. "ttable {0.0=1}" is the same as "ttable.0.0 1" )
(n.b. #2: not everyone knows that rather than rebooting, you can use "alsactl init 0" instead of rebooting to reinitialise from asound.conf..)
Reply
#2
Have you tried removing channels 6? I know this causes problems for some
Reply
#3
(2012-06-01, 23:37)drivesoslow Wrote: Have you tried removing channels 6? I know this causes problems for some

Yeah...I get exactly the same results with or without that in there.
Reply
#4
So...no-one else has any ideas at all?
Reply
#5
one last bump....after this this thread can die a sad and lonely death Sad
Reply
#6
This is the config I have on my bedroom box using a slightly older version of openelec.

Code:
pcm.!default {
type plug
slave {
pcm "hdmi"
}
}

pcm.!hdmi {
type route
slave.pcm "hw:0,3"
ttable.0.0 1
ttable.1.1 1
ttable.2.4 1
ttable.3.5 1
ttable.4.2 1
ttable.5.3 1
ttable.6.6 1
ttable.7.7 1
}
Don't be scared to ask questions. Odds are someone else is wondering the same thing.
Closet - Norco 4020 - Supermicro X8SAX - Intel i7-920 - Corsair HX1000 - Corsair XMS3 12GB - 10x1.5tb Raid 5 - 10x2tb Raid 5 - Openfiler VM inside Workstation Win7 x64
Living room - Silverstone ML02B-MXR - Gigabyte GA-E7AUM-DS2H - E8400 - OCZ Platinum Edition 4GB - Denon 3310CI
Bedroom - Antec Mini Skeleton - Zotac IONITX-B-E @ 1.92ghz - AVS Gear HA-IR01SV - A-DATA G series 4GB - Denon 2808CI
Reply

Logout Mark Read Team Forum Stats Members Help
ALSA 5.1 over HDMI: calling all ALSA experts!0