mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-04 13:30:12 -05:00
stream: fix connect by name
Look up the node id for the given device name and use that to connect.
This commit is contained in:
parent
6df567e6d4
commit
520a9831e7
3 changed files with 12 additions and 3 deletions
|
|
@ -261,6 +261,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);
|
||||
|
||||
#define MAX_BUFFERS 64
|
||||
#define MASK_BUFFERS (MAX_BUFFERS-1)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue