[alsa-devel] [PATCH 0/5 alsa-lib] amixer fixes for enumerated elements

Takashi Sakamoto o-takashi at sakamocchi.jp
Wed Apr 8 18:30:53 CEST 2015


The amixer still has issues according to sset operation to enumerated
items. The issues are:
 - Fail to handle omitted value of each channel.
 - The name of enumerated element is truncated.
 - Unclear separators for values of channels.

This patchset fixes these issues, including a small code
refactoring for better reading.

Takashi Sakamoto (5):
  amixer: gather local variables in the beginning of functions
  amixer: fix a bug to handle omitted value in parameter for enumerated
    element
  amixer: expand local storage for item name according to kernel code
  amixer: arrange validation logic
  amixer: use the same characters for separator.

 amixer/amixer.c | 60 ++++++++++++++++++++++++++++++++++++++++-----------------
 1 file changed, 42 insertions(+), 18 deletions(-)

-- 
2.1.0



More information about the Alsa-devel mailing list