PipeWire 1.2.6
|
Node events, listen to them with pw_impl_node_add_listener. More...
#include <pipewire/impl-node.h>
Data Fields | |
uint32_t | version |
void(* | destroy )(void *data) |
the node is destroyed | |
void(* | free )(void *data) |
the node is about to be freed | |
void(* | initialized )(void *data) |
the node is initialized | |
void(* | port_init )(void *data, struct pw_impl_port *port) |
a port is being initialized on the node | |
void(* | port_added )(void *data, struct pw_impl_port *port) |
a port was added | |
void(* | port_removed )(void *data, struct pw_impl_port *port) |
a port was removed | |
void(* | info_changed )(void *data, const struct pw_node_info *info) |
the node info changed | |
void(* | port_info_changed )(void *data, struct pw_impl_port *port, const struct pw_port_info *info) |
a port on the node changed info | |
void(* | active_changed )(void *data, bool active) |
the node active state changed | |
void(* | state_request )(void *data, enum pw_node_state state) |
a new state is requested on the node | |
void(* | state_changed )(void *data, enum pw_node_state old, enum pw_node_state state, const char *error) |
the state of the node changed | |
void(* | result )(void *data, int seq, int res, uint32_t type, const void *result) |
a result was received | |
void(* | event )(void *data, const struct spa_event *event) |
an event is emitted | |
void(* | driver_changed )(void *data, struct pw_impl_node *old, struct pw_impl_node *driver) |
the driver of the node changed | |
void(* | peer_added )(void *data, struct pw_impl_node *peer) |
a peer was added | |
void(* | peer_removed )(void *data, struct pw_impl_node *peer) |
a peer was removed | |
Node events, listen to them with pw_impl_node_add_listener.
uint32_t pw_impl_node_events::version |
void(* pw_impl_node_events::destroy) (void *data) |
the node is destroyed
void(* pw_impl_node_events::free) (void *data) |
the node is about to be freed
void(* pw_impl_node_events::initialized) (void *data) |
the node is initialized
void(* pw_impl_node_events::port_init) (void *data, struct pw_impl_port *port) |
a port is being initialized on the node
void(* pw_impl_node_events::port_added) (void *data, struct pw_impl_port *port) |
a port was added
void(* pw_impl_node_events::port_removed) (void *data, struct pw_impl_port *port) |
a port was removed
void(* pw_impl_node_events::info_changed) (void *data, const struct pw_node_info *info) |
the node info changed
void(* pw_impl_node_events::port_info_changed) (void *data, struct pw_impl_port *port, const struct pw_port_info *info) |
a port on the node changed info
void(* pw_impl_node_events::active_changed) (void *data, bool active) |
the node active state changed
void(* pw_impl_node_events::state_request) (void *data, enum pw_node_state state) |
a new state is requested on the node
void(* pw_impl_node_events::state_changed) (void *data, enum pw_node_state old, enum pw_node_state state, const char *error) |
the state of the node changed
void(* pw_impl_node_events::result) (void *data, int seq, int res, uint32_t type, const void *result) |
a result was received
void(* pw_impl_node_events::event) (void *data, const struct spa_event *event) |
an event is emitted
void(* pw_impl_node_events::driver_changed) (void *data, struct pw_impl_node *old, struct pw_impl_node *driver) |
the driver of the node changed
void(* pw_impl_node_events::peer_added) (void *data, struct pw_impl_node *peer) |
a peer was added
void(* pw_impl_node_events::peer_removed) (void *data, struct pw_impl_node *peer) |
a peer was removed