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_leave(l) spa_loop_control_leave((l)->control) |
|
#define | pw_loop_iterate(l, ...) spa_loop_control_iterate_fast((l)->control,__VA_ARGS__) |
|
#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.
The members of Loop are read-only.
◆ pw_loop_add_source
◆ pw_loop_update_source
◆ pw_loop_remove_source
◆ pw_loop_invoke
◆ pw_loop_get_fd
◆ pw_loop_add_hook
◆ pw_loop_enter
◆ pw_loop_leave
◆ pw_loop_iterate
◆ pw_loop_add_io
◆ pw_loop_update_io
◆ pw_loop_add_idle
◆ pw_loop_enable_idle
◆ pw_loop_add_event
◆ pw_loop_signal_event
◆ pw_loop_add_timer
◆ pw_loop_update_timer
◆ pw_loop_add_signal
- Examples
- audio-capture.c, audio-dsp-filter.c, audio-dsp-src.c, audio-src.c, export-spa-device.c, export-spa.c, internal.c, video-dsp-src.c, video-play-fixate.c, video-play-pull.c, video-play-reneg.c, video-play.c, video-src-alloc.c, video-src-fixate.c, video-src-reneg.c, and video-src.c.
◆ pw_loop_destroy_source
◆ pw_loop_new()
Create a new loop.
- Returns
- a newly allocated loop
◆ pw_loop_destroy()
void pw_loop_destroy |
( |
struct pw_loop * |
loop | ) |
|
Destroy a loop.
- Parameters
-