PipeWire
0.3.45
|
Control hooks. More...
Data Fields | |
uint32_t | version |
void(* | before )(void *data) |
Executed right before waiting for events. More... | |
void(* | after )(void *data) |
Executed right after waiting for events. More... | |
Control hooks.
These hooks can't be removed from their callbacks and must be removed from a safe place (when the loop is not running or when it is locked).
uint32_t spa_loop_control_hooks::version |
void(* spa_loop_control_hooks::before) (void *data) |
Executed right before waiting for events.
It is typically used to release locks.
void(* spa_loop_control_hooks::after) (void *data) |
Executed right after waiting for events.
It is typically used to reacquire locks.