forked from external/yambar
module/alsa: add ‘volume’ and ‘muted’ options
These options allows you to select which channel to use as volume source, and which channel to use as the source for the muted state. With this, we can also remove the check for *all* (playback) channels having the same volume/muted state. And with that, we no longer need to warn when not all channels have the same volume/muted state.
This commit is contained in:
parent
591cae4c6d
commit
ae7d54fb80
3 changed files with 89 additions and 55 deletions
|
@ -36,6 +36,17 @@ alsa - Monitors an alsa soundcard for volume and mute/unmute changes
|
|||
: string
|
||||
: yes
|
||||
: Mixer channel to monitor. _Master_ might work.
|
||||
| volume
|
||||
: string
|
||||
: no
|
||||
: The name of the channel to use as source for the volume level
|
||||
(default: *Front Left*).
|
||||
| muted
|
||||
: string
|
||||
: no
|
||||
: The name of the channel to use as source for the muted state
|
||||
(default: *Front Left*).
|
||||
|
||||
|
||||
# EXAMPLES
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue