From 3d1b440f16fd6e27944ceb0cb3d8082690ccd693 Mon Sep 17 00:00:00 2001 From: ben Date: Mon, 12 Jul 2010 21:51:59 +0200 Subject: pulseaudio connection: just use NULL as server str things like $PULSE_SERVER are respected now see ENVIRONMENT VARIABLES in pulseaudio(1) --- src/pa-sink-ctl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/pa-sink-ctl.c b/src/pa-sink-ctl.c index a33646b..f1ce215 100644 --- a/src/pa-sink-ctl.c +++ b/src/pa-sink-ctl.c @@ -52,7 +52,7 @@ int main(int argc, char** argv) // define callback for connection init pa_context_set_state_callback(context, context_state_callback, NULL); - if (pa_context_connect(context, "tcp:127.0.0.1:4712", PA_CONTEXT_NOAUTOSPAWN, NULL)) { + if (pa_context_connect(context, NULL, PA_CONTEXT_NOAUTOSPAWN, NULL)) { printf("error: pa_context_connect() failed.\n"); } -- cgit