[pulseaudio-commits] r1980 - /trunk/src/modules/module-tunnel.c
svnmailer-noreply at 0pointer.de
svnmailer-noreply at 0pointer.de
Mon Oct 29 13:01:21 PDT 2007
Author: lennart
Date: Mon Oct 29 21:01:20 2007
New Revision: 1980
URL: http://0pointer.de/cgi-bin/viewcvs.cgi?rev=1980&root=pulseaudio&view=rev
Log:
fail on name clash
Modified:
trunk/src/modules/module-tunnel.c
Modified: trunk/src/modules/module-tunnel.c
URL: http://0pointer.de/cgi-bin/viewcvs.cgi/trunk/src/modules/module-tunnel.c?rev=1980&root=pulseaudio&r1=1979&r2=1980&view=diff
==============================================================================
--- trunk/src/modules/module-tunnel.c (original)
+++ trunk/src/modules/module-tunnel.c Mon Oct 29 21:01:20 2007
@@ -1087,7 +1087,7 @@
if (!(dn = pa_xstrdup(pa_modargs_get_value(ma, "sink_name", NULL))))
dn = pa_sprintf_malloc("tunnel.%s", u->server_name);
- if (!(u->sink = pa_sink_new(m->core, __FILE__, dn, 0, &ss, &map))) {
+ if (!(u->sink = pa_sink_new(m->core, __FILE__, dn, 1, &ss, &map))) {
pa_log("Failed to create sink.");
goto fail;
}
@@ -1112,7 +1112,7 @@
if (!(dn = pa_xstrdup(pa_modargs_get_value(ma, "source_name", NULL))))
dn = pa_sprintf_malloc("tunnel.%s", u->server_name);
- if (!(u->source = pa_source_new(m->core, __FILE__, dn, 0, &ss, &map))) {
+ if (!(u->source = pa_source_new(m->core, __FILE__, dn, 1, &ss, &map))) {
pa_log("Failed to create source.");
goto fail;
}
More information about the pulseaudio-commits
mailing list