mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-29 05:40:27 -04:00
pass the right types to the methods
This currently works because we accept void* for these functions but it will fail when we will use the real types.
This commit is contained in:
parent
e393e57a26
commit
188d920733
4 changed files with 4 additions and 4 deletions
|
|
@ -555,7 +555,7 @@ static int set_volume_mute(snd_ctl_pipewire_t *ctl, const char *name, struct vol
|
|||
param = spa_pod_builder_pop(&b, &f[0]);
|
||||
|
||||
pw_log_debug("set device %d mute/volume for node %d", dg->id, g->id);
|
||||
pw_device_set_param((struct pw_node*)dg->proxy,
|
||||
pw_device_set_param((struct pw_device*)dg->proxy,
|
||||
SPA_PARAM_Route, 0, param);
|
||||
} else {
|
||||
if (!SPA_FLAG_IS_SET(g->permissions, PW_PERM_W | PW_PERM_X))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue