mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-11-09 13:30:03 -05:00
ucm: suppress the no device (no UCM card) errors on request
It seems that users are confused when the UCM configuration is not ready for the particular hardware. Actually, we don't allow a fine grained message classification in alsa-lib and UCM API. Allow suppression of this specific type of messages on the application request (typically alsactl). BugLink: https://github.com/alsa-project/alsa-utils/issues/111 Signed-off-by: Jaroslav Kysela <perex@perex.cz>
This commit is contained in:
parent
a6a22d82a0
commit
23198a72cd
3 changed files with 10 additions and 1 deletions
|
|
@ -227,6 +227,7 @@ struct snd_use_case_mgr {
|
|||
char *comment;
|
||||
int conf_format;
|
||||
unsigned int ucm_card_number;
|
||||
int suppress_nodev_errors;
|
||||
|
||||
/* UCM cards list */
|
||||
struct list_head cards_list;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue