[alsa-devel] Amixer: suppressing errors when called from stdin

Henrik Fasth henrik.fasth at axis.com
Wed Sep 12 11:39:54 CEST 2012


We have some problems with amixer always returning 0 when called from 
stdin (exec_stdin). The global variable ignore_error is always set to 1 
in function exec_stdin which leads to sset and cset always returning 0 
even if an error occured.

Are there any specific reasons for suppressing error messages and error 
return values like this?


More information about the Alsa-devel mailing list