mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-29 05:40:27 -04:00
bluez5: volume changes from headset should be saved
User changing volume via headset buttons should be treated on the same level as changing from desktop UI. Also initial headset volume should be considered saved (even though session managers currently ignore the initial route values on route restore). Mark route as saved on volume events.
This commit is contained in:
parent
77959a2c1c
commit
fe7c6bcef9
1 changed files with 6 additions and 0 deletions
|
|
@ -371,6 +371,12 @@ static bool node_update_volume_from_transport(struct node *node, bool reset)
|
|||
|
||||
node_update_soft_volumes(node, t_volume->volume);
|
||||
|
||||
/*
|
||||
* Consider volume changes from the headset as requested
|
||||
* by the user, and to be saved by the SM.
|
||||
*/
|
||||
node->save = true;
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue