mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-03 09:01:54 -05:00
pulse-server: implement OBJECT_LINGER
Use OBJECT_LINGER in module-load to make sure the module stays loaded after the client disconnects. Implement linger in adapter and node-factory
This commit is contained in:
parent
0fe77d39ce
commit
1934df7307
3 changed files with 15 additions and 3 deletions
|
|
@ -176,6 +176,7 @@ static int load_module(struct client *client, const char *name, const char *argu
|
|||
pw_properties_set(props, "device.description", NULL);
|
||||
}
|
||||
pw_properties_set(props, "factory.name", "support.null-audio-sink");
|
||||
pw_properties_set(props, PW_KEY_OBJECT_LINGER, "1");
|
||||
|
||||
module = calloc(1, sizeof(struct module));
|
||||
module->client = client;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue