module/alsa: add ‘percent’ tag - volume level as a percentage

Fixes part of #10
This commit is contained in:
Daniel Eklöf 2020-09-24 13:39:52 +02:00
parent eceee99fb0
commit 85ae4cca37
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
3 changed files with 14 additions and 1 deletions

View file

@ -145,6 +145,9 @@ Monitors an alsa soundcard for volume and mute/unmute changes.
| volume
: range
: Volume level, with min and max as start and end range values
| percent
: range
: Volume level, as a percentage
| muted
: bool
: True if muted, otherwise false