diff options
author | Takashi Iwai <tiwai@suse.de> | 2014-08-08 17:47:15 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2014-08-08 17:47:15 +0200 |
commit | e2db7fed4910cef92b561ed27760cb1a9c22e572 (patch) | |
tree | d6629815e198c45928dd1998174d4cf00d22c947 | |
parent | 7db838f538bb53414c179cb6c25d9434904f2279 (diff) | |
download | hda-emu-e2db7fed4910cef92b561ed27760cb1a9c22e572.tar.gz |
Show the minimum-mute TLV bit in dB information
-rw-r--r-- | hda-ctlsh.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/hda-ctlsh.c b/hda-ctlsh.c index e6417a7..30806ec 100644 --- a/hda-ctlsh.c +++ b/hda-ctlsh.c @@ -153,7 +153,8 @@ static void show_db_info(struct snd_kcontrol *kctl, (uinfo->value.integer.max - uinfo->value.integer.min) * step; db_string(mindb, db1, sizeof(db1)); db_string(maxdb, db2, sizeof(db2)); - hda_log(HDA_LOG_INFO, "\ndB min/max: %sdB,%sdB ", db1, db2); + hda_log(HDA_LOG_INFO, "\ndB min/max: %sdB%s,%sdB", db1, + (tlv[3] & 0x10000) ? "(mute)" : "", db2); for (i = 0; i < uinfo->count; i++) { int curv, curdb; |