Loading...
Searching...
No Matches
loop.h File Reference
Core API » Loop

pipewire/loop.h More...

Go to the source code of this file.

## Data Structures

struct | pw_loop

## Macros

#define | PW_API_LOOP_IMPL static inline

## Functions

struct pw_loop * | pw_loop_new (const struct spa_dict *props)
| Create a new loop.
void | pw_loop_destroy (struct pw_loop *loop)
| Destroy a loop.
int | pw_loop_set_name (struct pw_loop *loop, const char *name)
PW_API_LOOP_IMPL int | pw_loop_add_source (struct pw_loop *object, struct spa_source *source)
PW_API_LOOP_IMPL int | pw_loop_update_source (struct pw_loop *object, struct spa_source *source)
PW_API_LOOP_IMPL int | pw_loop_remove_source (struct pw_loop *object, struct spa_source *source)
PW_API_LOOP_IMPL int | pw_loop_invoke (struct pw_loop *object, spa_invoke_func_t func, uint32_t seq, const void *data, size_t size, bool block, void *user_data)
PW_API_LOOP_IMPL int | pw_loop_locked (struct pw_loop *object, spa_invoke_func_t func, uint32_t seq, const void *data, size_t size, void *user_data)
PW_API_LOOP_IMPL int | pw_loop_get_fd (struct pw_loop *object)
PW_API_LOOP_IMPL void | pw_loop_add_hook (struct pw_loop *object, struct spa_hook *hook, const struct spa_loop_control_hooks *hooks, void *data)
PW_API_LOOP_IMPL void | pw_loop_enter (struct pw_loop *object)
PW_API_LOOP_IMPL void | pw_loop_leave (struct pw_loop *object)
PW_API_LOOP_IMPL int | pw_loop_iterate (struct pw_loop *object, int timeout)
PW_API_LOOP_IMPL int | pw_loop_check (struct pw_loop *object)
PW_API_LOOP_IMPL int | pw_loop_lock (struct pw_loop *object)
PW_API_LOOP_IMPL int | pw_loop_unlock (struct pw_loop *object)
PW_API_LOOP_IMPL int | pw_loop_get_time (struct pw_loop *object, struct timespec *abstime, int64_t timeout)
PW_API_LOOP_IMPL int | pw_loop_wait (struct pw_loop *object, const struct timespec *abstime)
PW_API_LOOP_IMPL int | pw_loop_signal (struct pw_loop *object, bool wait_for_accept)
PW_API_LOOP_IMPL int | pw_loop_accept (struct pw_loop *object)
PW_API_LOOP_IMPL struct spa_source * | pw_loop_add_io (struct pw_loop *object, int fd, uint32_t mask, bool close, spa_source_io_func_t func, void *data)
PW_API_LOOP_IMPL int | pw_loop_update_io (struct pw_loop *object, struct spa_source *source, uint32_t mask)
PW_API_LOOP_IMPL struct spa_source * | pw_loop_add_idle (struct pw_loop *object, bool enabled, spa_source_idle_func_t func, void *data)
PW_API_LOOP_IMPL int | pw_loop_enable_idle (struct pw_loop *object, struct spa_source *source, bool enabled)
PW_API_LOOP_IMPL struct spa_source * | pw_loop_add_event (struct pw_loop *object, spa_source_event_func_t func, void *data)
PW_API_LOOP_IMPL int | pw_loop_signal_event (struct pw_loop *object, struct spa_source *source)
PW_API_LOOP_IMPL struct spa_source * | pw_loop_add_timer (struct pw_loop *object, spa_source_timer_func_t func, void *data)
PW_API_LOOP_IMPL int | pw_loop_update_timer (struct pw_loop *object, struct spa_source *source, struct timespec *value, struct timespec *interval, bool absolute)
PW_API_LOOP_IMPL struct spa_source * | pw_loop_add_signal (struct pw_loop *object, int signal_number, spa_source_signal_func_t func, void *data)
PW_API_LOOP_IMPL void | pw_loop_destroy_source (struct pw_loop *object, struct spa_source *source)

## Detailed Description

pipewire/loop.h