[pulseaudio-commits] r2028 - /trunk/src/utils/pasuspender.c
svnmailer-noreply at 0pointer.de
svnmailer-noreply at 0pointer.de
Wed Nov 7 05:52:08 PST 2007
Author: lennart
Date: Wed Nov 7 14:52:07 2007
New Revision: 2028
URL: http://0pointer.de/cgi-bin/viewcvs.cgi?rev=2028&root=pulseaudio&view=rev
Log:
warn if the sound server is not local
Modified:
trunk/src/utils/pasuspender.c
Modified: trunk/src/utils/pasuspender.c
URL: http://0pointer.de/cgi-bin/viewcvs.cgi/trunk/src/utils/pasuspender.c?rev=2028&root=pulseaudio&r1=2027&r2=2028&view=diff
==============================================================================
--- trunk/src/utils/pasuspender.c (original)
+++ trunk/src/utils/pasuspender.c Wed Nov 7 14:52:07 2007
@@ -149,8 +149,10 @@
if (pa_context_is_local(c)) {
pa_operation_unref(pa_context_suspend_sink_by_index(c, PA_INVALID_INDEX, 1, suspend_complete, NULL));
pa_operation_unref(pa_context_suspend_source_by_index(c, PA_INVALID_INDEX, 1, suspend_complete, NULL));
- } else
+ } else {
+ fprintf(stderr, "WARNING: Sound server is not local, not suspending.\n");
start_child();
+ }
break;
More information about the pulseaudio-commits
mailing list