mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-04 13:30:12 -05:00
context: ensure the registry exists
Make sure we are watching the registry before we try to enumerate objects. When we wait for new object info, resync the pending operations because they might depend on the info.
This commit is contained in:
parent
d560499054
commit
5feedbfd42
4 changed files with 44 additions and 13 deletions
|
|
@ -322,6 +322,7 @@ struct pa_context {
|
|||
struct global *pa_context_find_global(pa_context *c, uint32_t id);
|
||||
struct global *pa_context_find_global_by_name(pa_context *c, uint32_t mask, const char *name);
|
||||
struct global *pa_context_find_linked(pa_context *c, uint32_t id);
|
||||
void pa_context_ensure_registry(pa_context *c);
|
||||
|
||||
struct pa_mem {
|
||||
struct spa_list link;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue