mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-02 09:01:50 -05:00
event: make events dynamic
Use uri for the events.
This commit is contained in:
parent
5bccb1aeea
commit
4d9f2c5161
23 changed files with 299 additions and 285 deletions
|
|
@ -546,8 +546,8 @@ client_node_marshal_done (void *object,
|
|||
}
|
||||
|
||||
static void
|
||||
client_node_marshal_event (void *object,
|
||||
const SpaNodeEvent *event)
|
||||
client_node_marshal_event (void *object,
|
||||
const SpaEvent *event)
|
||||
{
|
||||
PinosResource *resource = object;
|
||||
PinosConnection *connection = resource->client->protocol_private;
|
||||
|
|
@ -930,7 +930,7 @@ client_node_demarshal_event (void *object,
|
|||
{
|
||||
PinosResource *resource = object;
|
||||
SpaPODIter it;
|
||||
SpaNodeEvent *event;
|
||||
SpaEvent *event;
|
||||
|
||||
if (!spa_pod_iter_struct (&it, data, size) ||
|
||||
!spa_pod_iter_get (&it, SPA_POD_TYPE_OBJECT, &event, 0))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue