mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-07 13:30:09 -05:00
improve error reporting
Move signals from core to the objects themselves Use per object info to track object signals Use periods in alsasink and source
This commit is contained in:
parent
fb69758251
commit
cae971e106
23 changed files with 573 additions and 384 deletions
|
|
@ -60,6 +60,12 @@ struct _PinosClient {
|
|||
PinosMap objects;
|
||||
|
||||
SpaList resource_list;
|
||||
PINOS_SIGNAL (resource_added, (PinosListener *listener,
|
||||
PinosClient *client,
|
||||
PinosResource *resource));
|
||||
PINOS_SIGNAL (resource_removed, (PinosListener *listener,
|
||||
PinosClient *client,
|
||||
PinosResource *resource));
|
||||
|
||||
PINOS_SIGNAL (destroy_signal, (PinosListener *listener,
|
||||
PinosClient *client));
|
||||
|
|
@ -80,6 +86,11 @@ SpaResult pinos_client_send_message (PinosClient *client,
|
|||
void *message,
|
||||
bool flush);
|
||||
|
||||
SpaResult pinos_client_send_error (PinosClient *client,
|
||||
PinosResource *resource,
|
||||
SpaResult res,
|
||||
const char *message, ...);
|
||||
|
||||
void pinos_client_update_properties (PinosClient *client,
|
||||
const SpaDict *dict);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue