mirror of
https://gitlab.freedesktop.org/pipewire/pipewire
synced 2024-09-20 00:11:31 +00:00
jack: stop freewheeling correctly
Setting a NULL value for the property will remove the property and will thus not send an update to the server and will thus not stop freewheeling. Use "" to remove ourselves from the freewheel group instead of looping forever. See #1265
This commit is contained in:
parent
9a90030596
commit
b142e7f09f
|
@ -3504,7 +3504,7 @@ int jack_set_freewheel(jack_client_t* client, int onoff)
|
|||
|
||||
pw_thread_loop_lock(c->context.loop);
|
||||
pw_properties_set(c->props, "node.group",
|
||||
onoff ? "pipewire.freewheel" : NULL);
|
||||
onoff ? "pipewire.freewheel" : "");
|
||||
|
||||
c->info.change_mask |= SPA_NODE_CHANGE_MASK_PROPS;
|
||||
c->info.props = &c->props->dict;
|
||||
|
|
Loading…
Reference in a new issue