alsa-utils/amixer
Anssi Hannula f1e991e813 amixer: fix indentation when printing container TLV contents
decode_tlv() adds indentation in the beginning, with the expectation
that the TLV will be printed on the line afterwards in a switch-case.

However, in the case of a container TLV the switch-case simply adds
another level of indentation and calls decode_tlv() for the inner TLVs.
This causes the first inner TLV to be printed with too much indentation
and double '|'.

Fix that by printing "container" and a newline for container TLVs, so
that the result is as follows:
  : values=0,0,0,0,0,0,0,0
  | container
    | chmap-variable=FL,FR
    | chmap-variable=FL,FR,LFE
    | chmap-variable=FL,FR,FC

Signed-off-by: Anssi Hannula <anssi.hannula@iki.fi>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2013-10-02 17:36:02 +02:00
..
amixer.1 Several formatting fixes for manpages. 2013-05-16 10:38:13 +02:00
amixer.c amixer: fix indentation when printing container TLV contents 2013-10-02 17:36:02 +02:00
amixer.h Changed Jaroslav Kysela's e-mail from perex@suse.cz to perex@perex.cz 2007-10-15 10:25:17 +02:00
go amixer/alsamixer - updated go scripts for debugging 2007-07-11 10:12:24 +02:00
Makefile.am amixer: Add the support for mapped volumes like alsamixer 2012-03-12 10:56:22 +01:00