PipeWire loop object provides an implementation of the spa loop interfaces.
More...
|
#define | pw_loop_add_source(l, ...) spa_loop_add_source((l)->loop,__VA_ARGS__) |
|
#define | pw_loop_update_source(l, ...) spa_loop_update_source((l)->loop,__VA_ARGS__) |
|
#define | pw_loop_remove_source(l, ...) spa_loop_remove_source((l)->loop,__VA_ARGS__) |
|
#define | pw_loop_invoke(l, ...) spa_loop_invoke((l)->loop,__VA_ARGS__) |
|
#define | pw_loop_get_fd(l) spa_loop_control_get_fd((l)->control) |
|
#define | pw_loop_add_hook(l, ...) spa_loop_control_add_hook((l)->control,__VA_ARGS__) |
|
#define | pw_loop_enter(l) spa_loop_control_enter((l)->control) |
|
#define | pw_loop_iterate(l, ...) spa_loop_control_iterate((l)->control,__VA_ARGS__) |
|
#define | pw_loop_leave(l) spa_loop_control_leave((l)->control) |
|
#define | pw_loop_add_io(l, ...) spa_loop_utils_add_io((l)->utils,__VA_ARGS__) |
|
#define | pw_loop_update_io(l, ...) spa_loop_utils_update_io((l)->utils,__VA_ARGS__) |
|
#define | pw_loop_add_idle(l, ...) spa_loop_utils_add_idle((l)->utils,__VA_ARGS__) |
|
#define | pw_loop_enable_idle(l, ...) spa_loop_utils_enable_idle((l)->utils,__VA_ARGS__) |
|
#define | pw_loop_add_event(l, ...) spa_loop_utils_add_event((l)->utils,__VA_ARGS__) |
|
#define | pw_loop_signal_event(l, ...) spa_loop_utils_signal_event((l)->utils,__VA_ARGS__) |
|
#define | pw_loop_add_timer(l, ...) spa_loop_utils_add_timer((l)->utils,__VA_ARGS__) |
|
#define | pw_loop_update_timer(l, ...) spa_loop_utils_update_timer((l)->utils,__VA_ARGS__) |
|
#define | pw_loop_add_signal(l, ...) spa_loop_utils_add_signal((l)->utils,__VA_ARGS__) |
|
#define | pw_loop_destroy_source(l, ...) spa_loop_utils_destroy_source((l)->utils,__VA_ARGS__) |
|
PipeWire loop object provides an implementation of the spa loop interfaces.
It can be used to implement various event loops.
◆ pw_loop_add_event
◆ pw_loop_add_hook
◆ pw_loop_add_idle
◆ pw_loop_add_io
◆ pw_loop_add_signal
◆ pw_loop_add_source
◆ pw_loop_add_timer
◆ pw_loop_destroy_source
◆ pw_loop_enable_idle
◆ pw_loop_enter
◆ pw_loop_get_fd
◆ pw_loop_invoke
◆ pw_loop_iterate
◆ pw_loop_leave
◆ pw_loop_remove_source
◆ pw_loop_signal_event
◆ pw_loop_update_io
◆ pw_loop_update_source
◆ pw_loop_update_timer
◆ pw_loop_destroy()
void pw_loop_destroy |
( |
struct pw_loop * |
loop | ) |
|
◆ pw_loop_new()
Create a new loop.
- Returns
- a newly allocated loop
References NAME, props, pw_get_support(), PW_KEY_LIBRARY_NAME_LOOP, PW_KEY_LIBRARY_NAME_SYSTEM, pw_load_spa_handle(), pw_log_error, pw_unload_spa_handle(), spa_dict_lookup(), spa_handle_get_interface, SPA_NAME_SUPPORT_LOOP, SPA_NAME_SUPPORT_SYSTEM, spa_strerror, SPA_SUPPORT_INIT, SPA_TYPE_INTERFACE_Loop, SPA_TYPE_INTERFACE_LoopControl, SPA_TYPE_INTERFACE_LoopUtils, SPA_TYPE_INTERFACE_System, impl::this, and utils.