|
PipeWire 1.0.3
|
Register sources and work items to an event loop. More...
#include <spa/support/loop.h>
Data Fields | |
| uint32_t | version |
| int(* | add_source )(void *object, struct spa_source *source) |
| add a source to the loop | |
| int(* | update_source )(void *object, struct spa_source *source) |
| update the source io mask | |
| int(* | remove_source )(void *object, struct spa_source *source) |
| remove a source from the loop | |
| int(* | invoke )(void *object, spa_invoke_func_t func, uint32_t seq, const void *data, size_t size, bool block, void *user_data) |
| invoke a function in the context of this loop | |
Register sources and work items to an event loop.
| uint32_t spa_loop_methods::version |
| int(* spa_loop_methods::add_source) (void *object, struct spa_source *source) |
add a source to the loop
| int(* spa_loop_methods::update_source) (void *object, struct spa_source *source) |
update the source io mask
| int(* spa_loop_methods::remove_source) (void *object, struct spa_source *source) |
remove a source from the loop
| int(* spa_loop_methods::invoke) (void *object, spa_invoke_func_t func, uint32_t seq, const void *data, size_t size, bool block, void *user_data) |
invoke a function in the context of this loop