PipeWire 0.1.9

Data Structures | Macros | Functions
loop.h File Reference
Include dependency graph for loop.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

## Data Structures
class | pw_loop
| PipeWire loop object provides an implementation of the spa loop interfaces. More...

## Macros
#define | pw_loop_add_source(l, ...) spa_loop_add_source((l)->loop,__VA_ARGS__)
#define | pw_loop_update_source(l, ...) spa_loop_update_source(__VA_ARGS__)
#define | pw_loop_remove_source(l, ...) spa_loop_remove_source(__VA_ARGS__)
#define | pw_loop_invoke(l, ...) spa_loop_invoke((l)->loop,__VA_ARGS__)
#define | pw_loop_get_fd(l) spa_loop_control_get_fd((l)->control)
#define | pw_loop_add_hook(l, ...) spa_loop_control_add_hook((l)->control,__VA_ARGS__)
#define | pw_loop_enter(l) spa_loop_control_enter((l)->control)
#define | pw_loop_iterate(l, ...) spa_loop_control_iterate((l)->control,__VA_ARGS__)
#define | pw_loop_leave(l) spa_loop_control_leave((l)->control)
#define | pw_loop_add_io(l, ...) spa_loop_utils_add_io((l)->utils,__VA_ARGS__)
#define | pw_loop_update_io(l, ...) spa_loop_utils_update_io((l)->utils,__VA_ARGS__)
#define | pw_loop_add_idle(l, ...) spa_loop_utils_add_idle((l)->utils,__VA_ARGS__)
#define | pw_loop_enable_idle(l, ...) spa_loop_utils_enable_idle((l)->utils,__VA_ARGS__)
#define | pw_loop_add_event(l, ...) spa_loop_utils_add_event((l)->utils,__VA_ARGS__)
#define | pw_loop_signal_event(l, ...) spa_loop_utils_signal_event((l)->utils,__VA_ARGS__)
#define | pw_loop_add_timer(l, ...) spa_loop_utils_add_timer((l)->utils,__VA_ARGS__)
#define | pw_loop_update_timer(l, ...) spa_loop_utils_update_timer((l)->utils,__VA_ARGS__)
#define | pw_loop_add_signal(l, ...) spa_loop_utils_add_signal((l)->utils,__VA_ARGS__)
#define | pw_loop_destroy_source(l, ...) spa_loop_utils_destroy_source((l)->utils,__VA_ARGS__)

## Functions
struct pw_loop * | pw_loop_new (struct pw_properties *properties)
void | pw_loop_destroy (struct pw_loop *loop)

## Macro Definition Documentation

## ◆ pw_loop_add_event

#define pw_loop_add_event | ( |  | l,
|  |  | ...
| ) |  | spa_loop_utils_add_event((l)->utils,__VA_ARGS__)

Referenced by pw_data_loop::pw_data_loop_new(), pw_main_loop::pw_main_loop_new(), and pw_work_queue::pw_work_queue_new().

## ◆ pw_loop_add_hook

#define pw_loop_add_hook | ( |  | l,
|  |  | ...
| ) |  | spa_loop_control_add_hook((l)->control,__VA_ARGS__)

Referenced by pw_thread_loop::pw_thread_loop_new().

## ◆ pw_loop_add_idle

#define pw_loop_add_idle | ( |  | l,
|  |  | ...
| ) |  | spa_loop_utils_add_idle((l)->utils,__VA_ARGS__)

## ◆ pw_loop_add_io

#define pw_loop_add_io | ( |  | l,
|  |  | ...
| ) |  | spa_loop_utils_add_io((l)->utils,__VA_ARGS__)

## ◆ pw_loop_add_signal

#define pw_loop_add_signal | ( |  | l,
|  |  | ...
| ) |  | spa_loop_utils_add_signal((l)->utils,__VA_ARGS__)

## ◆ pw_loop_add_source

#define pw_loop_add_source | ( |  | l,
|  |  | ...
| ) |  | spa_loop_add_source((l)->loop,__VA_ARGS__)

## ◆ pw_loop_add_timer

#define pw_loop_add_timer | ( |  | l,
|  |  | ...
| ) |  | spa_loop_utils_add_timer((l)->utils,__VA_ARGS__)

## ◆ pw_loop_destroy_source

#define pw_loop_destroy_source | ( |  | l,
|  |  | ...
| ) |  | spa_loop_utils_destroy_source((l)->utils,__VA_ARGS__)

Referenced by pw_data_loop::pw_data_loop_destroy(), and pw_work_queue::pw_work_queue_destroy().

## ◆ pw_loop_enable_idle

#define pw_loop_enable_idle | ( |  | l,
|  |  | ...
| ) |  | spa_loop_utils_enable_idle((l)->utils,__VA_ARGS__)

## ◆ pw_loop_enter

#define pw_loop_enter | ( |  | l | ) | spa_loop_control_enter((l)->control)

Referenced by pw_main_loop::pw_main_loop_run().

## ◆ pw_loop_get_fd

#define pw_loop_get_fd | ( |  | l | ) | spa_loop_control_get_fd((l)->control)

## ◆ pw_loop_invoke

#define pw_loop_invoke | ( |  | l,
|  |  | ...
| ) |  | spa_loop_invoke((l)->loop,__VA_ARGS__)

Referenced by pw_link_deactivate(), pw_node::pw_node_destroy(), and pw_port_send_command().

## ◆ pw_loop_iterate

#define pw_loop_iterate | ( |  | l,
|  |  | ...
| ) |  | spa_loop_control_iterate((l)->control,__VA_ARGS__)

Referenced by pw_main_loop::pw_main_loop_run().

## ◆ pw_loop_leave

#define pw_loop_leave | ( |  | l | ) | spa_loop_control_leave((l)->control)

Referenced by pw_main_loop::pw_main_loop_run().

## ◆ pw_loop_remove_source

#define pw_loop_remove_source | ( |  | l,
|  |  | ...
| ) |  | spa_loop_remove_source(__VA_ARGS__)

## ◆ pw_loop_signal_event

#define pw_loop_signal_event | ( |  | l,
|  |  | ...
| ) |  | spa_loop_utils_signal_event((l)->utils,__VA_ARGS__)

Referenced by pw_data_loop::pw_data_loop_stop(), pw_main_loop::pw_main_loop_quit(), pw_thread_loop::pw_thread_loop_stop(), pw_work_queue::pw_work_queue_add(), pw_work_queue::pw_work_queue_cancel(), and pw_work_queue::pw_work_queue_complete().

## ◆ pw_loop_update_io

#define pw_loop_update_io | ( |  | l,
|  |  | ...
| ) |  | spa_loop_utils_update_io((l)->utils,__VA_ARGS__)

## ◆ pw_loop_update_source

#define pw_loop_update_source | ( |  | l,
|  |  | ...
| ) |  | spa_loop_update_source(__VA_ARGS__)

## ◆ pw_loop_update_timer

#define pw_loop_update_timer | ( |  | l,
|  |  | ...
| ) |  | spa_loop_utils_update_timer((l)->utils,__VA_ARGS__)

## Function Documentation

## ◆ pw_loop_destroy()

void pw_loop_destroy | ( | struct pw_loop * | loop | ) |

## ◆ pw_loop_new()

struct pw_loop* pw_loop_new | ( | struct pw_properties * | properties | ) |