summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2006-04-18 17:20:05 +0000
committerLennart Poettering <lennart@poettering.net>2006-04-18 17:20:05 +0000
commita5100be08335822c9ab87310e12d0d7f1dea870b (patch)
tree29d8d1460c722d74134a7dea094efa9e4b044cf9
parenta80912917b348f6371fed4154cb6f2bcfe3ea384 (diff)
fix connecting of jack source in jack daemon
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@748 fefdeb5f-60dc-0310-8127-8f9354f1896f
-rw-r--r--src/modules/module-jack-source.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/module-jack-source.c b/src/modules/module-jack-source.c
index eef416f6..5f0e560d 100644
--- a/src/modules/module-jack-source.c
+++ b/src/modules/module-jack-source.c
@@ -338,7 +338,7 @@ int pa__init(pa_core *c, pa_module*m) {
pa_log_info(__FILE__": connecting %s to %s", jack_port_name(u->port[i]), *p);
- if (jack_connect(u->client, jack_port_name(u->port[i]), *p)) {
+ if (jack_connect(u->client, *p, jack_port_name(u->port[i]))) {
pa_log(__FILE__": failed to connect %s to %s, leaving unconnected.", jack_port_name(u->port[i]), *p);
break;
}