diff options
Diffstat (limited to 'alsa-binding/Alsa-SetGet.c')
-rw-r--r-- | alsa-binding/Alsa-SetGet.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/alsa-binding/Alsa-SetGet.c b/alsa-binding/Alsa-SetGet.c index 00e7bec..6983817 100644 --- a/alsa-binding/Alsa-SetGet.c +++ b/alsa-binding/Alsa-SetGet.c @@ -409,7 +409,7 @@ STATIC json_object* alsaCardProbe(const char *rqt, InfoGetT infoType) { name = snd_ctl_card_info_get_name(cardinfo); json_object_object_add(ctlDev, "name", json_object_new_string(name)); - if (AFB_GET_VERBOSITY > 1) { + if (afb_get_verbosity() >= AFB_VERBOSITY_LEVEL_NOTICE) { driver = snd_ctl_card_info_get_driver(cardinfo); json_object_object_add(ctlDev, "driver", json_object_new_string(driver)); info = strdup(snd_ctl_card_info_get_longname(cardinfo)); |