mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-12-15 08:56:38 -05:00
alsa: save volumes
Instruct the session manager to save the volumes when set with the ALSA ctrl API.
This commit is contained in:
parent
c8ef655b3e
commit
3215b58bae
1 changed files with 1 additions and 0 deletions
|
|
@ -532,6 +532,7 @@ static int set_volume_mute(snd_ctl_pipewire_t *ctl, const char *name, struct vol
|
||||||
spa_pod_builder_add(&b,
|
spa_pod_builder_add(&b,
|
||||||
SPA_PARAM_ROUTE_index, SPA_POD_Int(id),
|
SPA_PARAM_ROUTE_index, SPA_POD_Int(id),
|
||||||
SPA_PARAM_ROUTE_device, SPA_POD_Int(device_id),
|
SPA_PARAM_ROUTE_device, SPA_POD_Int(device_id),
|
||||||
|
SPA_PARAM_ROUTE_save, true,
|
||||||
0);
|
0);
|
||||||
|
|
||||||
spa_pod_builder_prop(&b, SPA_PARAM_ROUTE_props, 0);
|
spa_pod_builder_prop(&b, SPA_PARAM_ROUTE_props, 0);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue