PipeWire
0.2.0
|
PipeWire rt-loop object. More...
Public Member Functions | |
struct pw_data_loop * | pw_data_loop_new (struct pw_properties *properties) |
Create a new pw_data_loop. More... | |
void | pw_data_loop_destroy (struct pw_data_loop *loop) |
Destroy a data loop. More... | |
int | pw_data_loop_start (struct pw_data_loop *loop) |
Start a data loop. More... | |
int | pw_data_loop_stop (struct pw_data_loop *loop) |
Stop a data loop. More... | |
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.
void pw_data_loop_destroy | ( | struct pw_data_loop * | loop | ) |
Destroy a data loop.
loop | the data loop to destroy |
References pw_data_loop_stop(), pw_log::pw_log_debug(), pw_loop::pw_loop_destroy(), and pw_loop_destroy_source.
Referenced by pw_core::pw_core_destroy().
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.
struct pw_data_loop * pw_data_loop_new | ( | struct pw_properties * | properties | ) |
Create a new pw_data_loop.
References pw_log::pw_log_debug(), pw_loop_add_event, and pw_loop::pw_loop_new().
Referenced by pw_core::pw_core_new().
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.
Referenced by pw_core::pw_core_new().
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, and pw_loop_signal_event.
Referenced by pw_data_loop_destroy().