![]() |
UltraGrid
UltraGrid Low-Latency High-Resolution Transmission System
|

Go to the source code of this file.
Functions | |
| std::vector< Pipewire_device > | get_pw_device_list () |
| bool | initialize_pw_common (pipewire_state_common &s, int fd) |
| static void | on_core_done (void *data, uint32_t, int seq) |
| static void | on_core_error (void *, uint32_t id, int seq, int res, const char *message) |
| static void | on_registry_event_global (void *data, uint32_t, uint32_t, const char *type, uint32_t, const struct spa_dict *props) |
| void | print_devices (std::string_view media_class) |
Variables | |
| static const struct pw_core_events | core_events |
| std::vector< Pipewire_device > get_pw_device_list | ( | ) |
Definition at line 85 of file pipewire_common.cpp.
References spa_hook_uniq::get(), initialize_pw_common(), on_registry_event_global(), pipewire_state_common::pipewire_core, pipewire_state_common::pipewire_loop, pipewire_state_common::pw_last_seq, and pipewire_state_common::pw_pending_seq.
Referenced by print_devices().

| bool initialize_pw_common | ( | pipewire_state_common & | s, |
| int | fd ) |
Definition at line 39 of file pipewire_common.cpp.
References core_events, pipewire_state_common::core_listener, spa_hook_uniq::get(), pipewire_init_guard::init(), pipewire_state_common::init_guard, pipewire_state_common::pipewire_context, pipewire_state_common::pipewire_core, and pipewire_state_common::pipewire_loop.
Referenced by audio_cap_pipewire_init(), audio_play_pw_init(), display_pw_init(), get_pw_device_list(), and start_pipewire().

|
static |
Definition at line 11 of file pipewire_common.cpp.
References pipewire_state_common::pw_last_seq, and seq.
|
static |
Definition at line 19 of file pipewire_common.cpp.
References LOG_LEVEL_ERROR, log_msg(), and seq.

|
static |
Definition at line 56 of file pipewire_common.cpp.
References Pipewire_device::description, key, Pipewire_device::media_class, Pipewire_device::name, Pipewire_device::nick, Pipewire_device::serial, type, and val.
Referenced by get_pw_device_list().
| void print_devices | ( | std::string_view | media_class | ) |
Definition at line 120 of file pipewire_common.cpp.
References color_printf(), and get_pw_device_list().
Referenced by audio_cap_pw_help(), audio_play_pw_help(), display_pw_help(), and show_generic_help().

|
static |
Definition at line 24 of file pipewire_common.cpp.
Referenced by initialize_pw_common().