mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-04 13:30:12 -05:00
Implement subscription with a signal
Use a signal for subscription events Work on handling OOM errors and other errors.
This commit is contained in:
parent
1b66bbcffd
commit
85d375e4bb
32 changed files with 531 additions and 176 deletions
|
|
@ -64,6 +64,9 @@ pinos_rtkit_bus_get_system (void)
|
|||
dbus_error_init(&error);
|
||||
|
||||
bus = calloc (1, sizeof (PinosRTKitBus));
|
||||
if (bus == NULL)
|
||||
return NULL;
|
||||
|
||||
bus->bus = dbus_bus_get_private (DBUS_BUS_SYSTEM, &error);
|
||||
if (bus->bus == NULL)
|
||||
goto error;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue