mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-31 22:25:38 -04:00
acp: reset soft volume
When we have accurate enough hardware volume, set the software volume to 1.0. Also fixes the issue of going to 0 volume and then staying silent until we raise the volume above 1.0.
This commit is contained in:
parent
479bf3c803
commit
08438903e5
3 changed files with 17 additions and 8 deletions
|
|
@ -297,6 +297,7 @@ struct pa_alsa_device {
|
|||
unsigned decibel_volume:1;
|
||||
pa_cvolume real_volume;
|
||||
pa_cvolume hardware_volume;
|
||||
pa_cvolume soft_volume;
|
||||
|
||||
pa_volume_t base_volume;
|
||||
unsigned n_volume_steps;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue