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:
Wim Taymans 2018-09-21 16:46:51 +02:00
parent 6df567e6d4
commit 520a9831e7
3 changed files with 12 additions and 3 deletions

View file

@ -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)