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(-)