mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-12-16 08:56:45 -05:00
alsa: pass bool argument properly
This commit is contained in:
parent
3215b58bae
commit
4593ac4113
1 changed files with 1 additions and 1 deletions
|
|
@ -532,7 +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,
|
SPA_PARAM_ROUTE_save, SPA_POD_Bool(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