PipeWire  0.3.33
data-loop.c File Reference

Macros

#define NAME   "data-loop"
 

Functions

int pw_data_loop_wait (struct pw_data_loop *this, int timeout)
 wait for activity on the loop up to timeout milliseconds. More...
 
void pw_data_loop_exit (struct pw_data_loop *this)
 make sure the thread will exit. More...
 
struct pw_data_loop * pw_data_loop_new (const struct spa_dict *props)
 Create a new PipeWire rt-loop object. More...
 
void pw_data_loop_destroy (struct pw_data_loop *loop)
 Destroy a data loop. More...
 
void pw_data_loop_add_listener (struct pw_data_loop *loop, struct spa_hook *listener, const struct pw_data_loop_events *events, void *data)
 Add an event listener to loop. More...
 
struct pw_looppw_data_loop_get_loop (struct pw_data_loop *loop)
 Get the loop implementation of this 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...
 
struct spa_thread * pw_data_loop_get_thread (struct pw_data_loop *loop)
 Get the thread object. More...
 
int pw_data_loop_invoke (struct pw_data_loop *loop, spa_invoke_func_t func, uint32_t seq, const void *data, size_t size, bool block, void *user_data)
 invoke func in the context of the thread or in the caller thread when the loop is not running. More...
 

Macro Definition Documentation

◆ NAME

#define NAME   "data-loop"