[pulseaudio-commits] r2181 - /trunk/src/pulsecore/protocol-native.c

svnmailer-noreply at 0pointer.de svnmailer-noreply at 0pointer.de
Thu Mar 27 16:59:38 PDT 2008


Author: lennart
Date: Fri Mar 28 00:59:37 2008
New Revision: 2181

URL: http://0pointer.de/cgi-bin/viewcvs.cgi?rev=2181&root=pulseaudio&view=rev
Log:
properly notify clients about suspended state when moving source output streams. Closes #244. Patch from slicer

Modified:
    trunk/src/pulsecore/protocol-native.c

Modified: trunk/src/pulsecore/protocol-native.c
URL: http://0pointer.de/cgi-bin/viewcvs.cgi/trunk/src/pulsecore/protocol-native.c?rev=2181&root=pulseaudio&r1=2180&r2=2181&view=diff
==============================================================================
--- trunk/src/pulsecore/protocol-native.c (original)
+++ trunk/src/pulsecore/protocol-native.c Fri Mar 28 00:59:37 2008
@@ -1177,6 +1177,7 @@
     pa_tagstruct_putu32(t, s->index);
     pa_tagstruct_putu32(t, o->source->index);
     pa_tagstruct_puts(t, o->source->name);
+    pa_tagstruct_put_boolean(t, pa_source_get_state(o->source) == PA_SOURCE_SUSPENDED);
     pa_pstream_send_tagstruct(s->connection->pstream, t);
 }
 




More information about the pulseaudio-commits mailing list