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:
Daniel Eklöf 2021-08-20 20:24:44 +02:00
parent 591cae4c6d
commit ae7d54fb80
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
3 changed files with 89 additions and 55 deletions

View file

@ -23,6 +23,8 @@
* river: support for the river-status protocol, version 2 (urgent
views).
* `online` tag to the `alsa` module.
* alsa: `volume` and `muted` options, allowing you to configure which
channels to use as source for the volume level and muted state.
### Changed