PipeWire
0.2.3
|
Macros | |
#define | pw_thread_loop_events_emit(o, m, v, ...) spa_hook_list_call(&o->listener_list, struct pw_thread_loop_events, m, v, ##__VA_ARGS__) |
#define | pw_thread_loop_events_destroy(o) pw_thread_loop_events_emit(o, destroy, 0) |
Functions | |
void | pw_thread_loop_add_listener (struct pw_thread_loop *loop, struct spa_hook *listener, const struct pw_thread_loop_events *events, void *data) |
Add an event listener. More... | |
struct pw_loop * | pw_thread_loop_get_loop (struct pw_thread_loop *loop) |
Get the loop implementation of the thread loop. More... | |
#define pw_thread_loop_events_destroy | ( | o | ) | pw_thread_loop_events_emit(o, destroy, 0) |
Referenced by pw_thread_loop::pw_thread_loop_destroy().
#define pw_thread_loop_events_emit | ( | o, | |
m, | |||
v, | |||
... | |||
) | spa_hook_list_call(&o->listener_list, struct pw_thread_loop_events, m, v, ##__VA_ARGS__) |
void pw_thread_loop_add_listener | ( | struct pw_thread_loop * | loop, |
struct spa_hook * | listener, | ||
const struct pw_thread_loop_events * | events, | ||
void * | data | ||
) |
Add an event listener.
struct pw_loop* pw_thread_loop_get_loop | ( | struct pw_thread_loop * | loop | ) |
Get the loop implementation of the thread loop.
References pw_loop::loop.