[pulseaudio-commits] r2156 - /branches/prepare-0.9.10/src/pulsecore/protocol-native.c
svnmailer-noreply at 0pointer.de
svnmailer-noreply at 0pointer.de
Thu Mar 27 16:24:28 PDT 2008
Author: lennart
Date: Fri Mar 28 00:24:27 2008
New Revision: 2156
URL: http://0pointer.de/cgi-bin/viewcvs.cgi?rev=2156&root=pulseaudio&view=rev
Log:
merge r2097 from trunk
Modified:
branches/prepare-0.9.10/src/pulsecore/protocol-native.c
Modified: branches/prepare-0.9.10/src/pulsecore/protocol-native.c
URL: http://0pointer.de/cgi-bin/viewcvs.cgi/branches/prepare-0.9.10/src/pulsecore/protocol-native.c?rev=2156&root=pulseaudio&r1=2155&r2=2156&view=diff
==============================================================================
--- branches/prepare-0.9.10/src/pulsecore/protocol-native.c (original)
+++ branches/prepare-0.9.10/src/pulsecore/protocol-native.c Fri Mar 28 00:24:27 2008
@@ -1069,6 +1069,9 @@
s = PLAYBACK_STREAM(i->userdata);
playback_stream_assert_ref(s);
+ if (s->connection->version < 12)
+ return;
+
t = pa_tagstruct_new(NULL, 0);
pa_tagstruct_putu32(t, PA_COMMAND_PLAYBACK_STREAM_SUSPENDED);
pa_tagstruct_putu32(t, (uint32_t) -1); /* tag */
@@ -1085,6 +1088,9 @@
pa_sink_input_assert_ref(i);
s = PLAYBACK_STREAM(i->userdata);
playback_stream_assert_ref(s);
+
+ if (s->connection->version < 12)
+ return;
t = pa_tagstruct_new(NULL, 0);
pa_tagstruct_putu32(t, PA_COMMAND_PLAYBACK_STREAM_MOVED);
@@ -1142,6 +1148,9 @@
s = RECORD_STREAM(o->userdata);
record_stream_assert_ref(s);
+ if (s->connection->version < 12)
+ return;
+
t = pa_tagstruct_new(NULL, 0);
pa_tagstruct_putu32(t, PA_COMMAND_RECORD_STREAM_SUSPENDED);
pa_tagstruct_putu32(t, (uint32_t) -1); /* tag */
@@ -1158,6 +1167,9 @@
pa_source_output_assert_ref(o);
s = RECORD_STREAM(o->userdata);
record_stream_assert_ref(s);
+
+ if (s->connection->version < 12)
+ return;
t = pa_tagstruct_new(NULL, 0);
pa_tagstruct_putu32(t, PA_COMMAND_RECORD_STREAM_MOVED);
More information about the pulseaudio-commits
mailing list