mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2026-05-12 23:50:35 -04:00
jack: handle get_registry failure
This commit is contained in:
parent
95a4772031
commit
517b6c3778
1 changed files with 6 additions and 2 deletions
|
|
@ -4380,13 +4380,17 @@ jack_client_t * jack_client_open (const char *client_name,
|
|||
if (client->core == NULL)
|
||||
goto server_failed;
|
||||
|
||||
client->pool = pw_core_get_mempool(client->core);
|
||||
|
||||
pw_core_add_listener(client->core,
|
||||
&client->core_listener,
|
||||
&core_events, client);
|
||||
|
||||
client->pool = pw_core_get_mempool(client->core);
|
||||
|
||||
client->registry = pw_core_get_registry(client->core,
|
||||
PW_VERSION_REGISTRY, 0);
|
||||
if (client->registry == NULL)
|
||||
goto init_failed;
|
||||
|
||||
pw_registry_add_listener(client->registry,
|
||||
&client->registry_listener,
|
||||
®istry_events, client);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue