forked from external/yambar
module/alsa: set unmuted=false if we device doesn't have the muted property
This commit is contained in:
parent
efb71cb5c5
commit
bdc5dea428
1 changed files with 1 additions and 0 deletions
|
@ -117,6 +117,7 @@ update_state(struct module *mod, snd_mixer_elem_t *elem)
|
||||||
if (r < 0) {
|
if (r < 0) {
|
||||||
LOG_WARN("%s,%s: %s: failed to get muted state",
|
LOG_WARN("%s,%s: %s: failed to get muted state",
|
||||||
m->card, m->mixer, snd_mixer_selem_channel_name(it->item));
|
m->card, m->mixer, snd_mixer_selem_channel_name(it->item));
|
||||||
|
unmuted[idx] = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
LOG_DBG("%s,%s: %s: muted: %d", m->card, m->mixer,
|
LOG_DBG("%s,%s: %s: muted: %d", m->card, m->mixer,
|
||||||
|
|
Loading…
Add table
Reference in a new issue