From 9909234abec5fb0d3d0bba1b27b9c9d357c463b6 Mon Sep 17 00:00:00 2001 From: wm4 Date: Fri, 12 Jun 2015 23:35:17 +0200 Subject: chmap: make up some channel layout names Going by the existing names, these should make sense. HDMI knows about these layouts, but does not name them. --- audio/chmap.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/audio/chmap.c b/audio/chmap.c index 2dbed01278..3bc2d2b15a 100644 --- a/audio/chmap.c +++ b/audio/chmap.c @@ -70,6 +70,7 @@ static const char *const std_layout_names[][2] = { {"quad", "fl-fr-bl-br"}, {"quad(side)", "fl-fr-sl-sr"}, {"3.1", "fl-fr-fc-lfe"}, + {"3.1(back)", "fl-fr-lfe-bc"}, // not in lavc {"5.0", "fl-fr-fc-bl-br"}, {"5.0(alsa)", "fl-fr-bl-br-fc"}, // not in lavc {"5.0(side)", "fl-fr-fc-sl-sr"}, @@ -83,9 +84,11 @@ static const char *const std_layout_names[][2] = { {"hexagonal", "fl-fr-fc-bl-br-bc"}, {"6.1", "fl-fr-fc-lfe-bc-sl-sr"}, {"6.1(back)", "fl-fr-fc-lfe-bl-br-bc"}, // lavc calls this "6.1" too + {"6.1(top)", "fl-fr-fc-lfe-bl-br-tc"}, // not in lavc {"6.1(front)", "fl-fr-lfe-flc-frc-sl-sr"}, {"7.0", "fl-fr-fc-bl-br-sl-sr"}, {"7.0(front)", "fl-fr-fc-flc-frc-sl-sr"}, + {"7.0(rear)", "fl-fr-fc-bl-br-sdl-sdr"}, // not in lavc {"7.1", "fl-fr-fc-lfe-bl-br-sl-sr"}, {"7.1(alsa)", "fl-fr-bl-br-fc-lfe-sl-sr"}, // not in lavc {"7.1(wide)", "fl-fr-fc-lfe-bl-br-flc-frc"}, -- cgit v1.2.3