PipeWire
0.3.15
|
Public Member Functions | |
SPA_EXPORT struct pw_data_loop * | pw_data_loop_new (const struct spa_dict *props) |
Create a new pw_data_loop. More... | |
SPA_EXPORT void | pw_data_loop_destroy (struct pw_data_loop *loop) |
Destroy a data loop. More... | |
SPA_EXPORT int | pw_data_loop_start (struct pw_data_loop *loop) |
Start a data loop. More... | |
SPA_EXPORT int | pw_data_loop_stop (struct pw_data_loop *loop) |
Stop a data loop. More... | |
SPA_EXPORT bool | pw_data_loop_in_thread (struct pw_data_loop *loop) |
Check if we are inside the data loop. More... | |
PipeWire rt-loop object. This loop starts a new real-time thread that is designed to run the processing graph.
SPA_EXPORT void pw_data_loop_destroy | ( | struct pw_data_loop * | loop | ) |
Destroy a data loop.
loop | the data loop to destroy |
References NAME, pw_data_loop_stop(), pw_log::pw_log_debug, pw_loop::pw_loop_destroy(), and pw_loop_destroy_source.
SPA_EXPORT bool pw_data_loop_in_thread | ( | struct pw_data_loop * | loop | ) |
Check if we are inside the data loop.
loop | the data loop to check |
References pw_loop::loop.
SPA_EXPORT struct pw_data_loop * pw_data_loop_new | ( | const struct spa_dict * | props | ) |
Create a new pw_data_loop.
SPA_EXPORT int pw_data_loop_start | ( | struct pw_data_loop * | loop | ) |
Start a data loop.
loop | the data loop to start |
This will start the realtime thread that manages the loop.
References pw_loop::loop.
SPA_EXPORT int pw_data_loop_stop | ( | struct pw_data_loop * | loop | ) |
Stop a data loop.
loop | the data loop to Stop |
This will stop and join the realtime thread that manages the loop.
References pw_loop::loop, NAME, pw_log::pw_log_debug, and pw_loop_signal_event.
Referenced by pw_data_loop_destroy().