mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-31 22:25:38 -04:00
acp: add support for soft volume
Add a set_soft_volume/mute event. If we can't configure the hardware volume completely, notify the remainder with the soft_volume/mute events.
This commit is contained in:
parent
4db6e0e2b3
commit
d80d593271
4 changed files with 87 additions and 10 deletions
|
|
@ -295,6 +295,7 @@ struct pa_alsa_device {
|
|||
unsigned muted:1;
|
||||
unsigned decibel_volume:1;
|
||||
pa_cvolume real_volume;
|
||||
pa_cvolume hardware_volume;
|
||||
|
||||
pa_volume_t base_volume;
|
||||
unsigned n_volume_steps;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue