[alsa-devel] [PATCH 0/3] alsa-lib - improve surround 2.1 support

David Henningsson david.henningsson at canonical.com
Fri Feb 21 16:24:19 CET 2014

So, in order to support 2.1 surround on both 4-channels (e g FL FR LFE LFE,
on internal subwoofer) and 6-channels (e g FL FR RL RR C LFE, on desktops
with 5.1 out), I needed to make the route plugin more chmap aware.

This also included allowing a new syntax for the ttable, which I think is
quite nice. The new syntax also falls back to ALSAs standard chmap in case
the hardware does not support it.

David Henningsson (3):
  route: Allow chmap syntax for slave channels in ttable
  route: Select slave chmap based on ttable information
  conf: Allow 2.1 surround to use different number of channels

 src/conf/pcm/surround21.conf |   7 +-
 src/pcm/pcm_route.c          | 304 ++++++++++++++++++++++++++++++++++++++-----
 2 files changed, 271 insertions(+), 40 deletions(-)


More information about the Alsa-devel mailing list