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
|
|
@ -56,6 +56,13 @@ struct _PinosNode {
|
|||
PinosProperties *properties;
|
||||
PinosNodeState state;
|
||||
char *error;
|
||||
PINOS_SIGNAL (state_request, (PinosListener *listener,
|
||||
PinosNode *object,
|
||||
PinosNodeState state));
|
||||
PINOS_SIGNAL (state_changed, (PinosListener *listener,
|
||||
PinosNode *object,
|
||||
PinosNodeState old,
|
||||
PinosNodeState state));
|
||||
|
||||
SpaHandle *handle;
|
||||
SpaNode *node;
|
||||
|
|
@ -66,6 +73,12 @@ struct _PinosNode {
|
|||
|
||||
SpaList input_ports;
|
||||
SpaList output_ports;
|
||||
PINOS_SIGNAL (port_added, (PinosListener *listener,
|
||||
PinosNode *node,
|
||||
PinosPort *port));
|
||||
PINOS_SIGNAL (port_removed, (PinosListener *listener,
|
||||
PinosNode *node,
|
||||
PinosPort *port));
|
||||
|
||||
PinosPort **input_port_map;
|
||||
PinosPort **output_port_map;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue