module-tunnel: automatically find the PulseAudio server

Make the PulseAudio tunnel behave the same way as a client
when it comes to figuring out how to connect to the current
PulseAudio daemon. This can be useful if you start a second
PulseAudio instance for e.g. network access.
This commit is contained in:
Pierre Ossman 2013-07-11 13:57:41 +02:00 committed by Tanu Kaskinen
parent 943275d2fd
commit 23c39bb540
3 changed files with 211 additions and 10 deletions

View file

@ -27,6 +27,7 @@
typedef struct pa_auth_cookie pa_auth_cookie;
pa_auth_cookie* pa_auth_cookie_get(pa_core *c, const char *cn, bool create, size_t size);
pa_auth_cookie* pa_auth_cookie_create(pa_core *c, const void *data, size_t size);
pa_auth_cookie* pa_auth_cookie_ref(pa_auth_cookie *c);
void pa_auth_cookie_unref(pa_auth_cookie *c);