[polypaudio-commits] r685 - /trunk/src/polypcore/protocol-native.c

svnmailer-noreply at 0pointer.de svnmailer-noreply at 0pointer.de
Wed Apr 12 10:12:17 PDT 2006


Author: lennart
Date: Wed Apr 12 19:12:16 2006
New Revision: 685

URL: http://0pointer.de/cgi-bin/viewcvs.cgi?rev=685&root=polypaudio&view=rev
Log:
protocol change: don't send stream buffer size in latency update. This data is redundant, since it can be calculated from write_index - read_index anyway

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

Modified: trunk/src/polypcore/protocol-native.c
URL: http://0pointer.de/cgi-bin/viewcvs.cgi/trunk/src/polypcore/protocol-native.c?rev=685&root=polypaudio&r1=684&r2=685&view=diff
==============================================================================
--- trunk/src/polypcore/protocol-native.c (original)
+++ trunk/src/polypcore/protocol-native.c Wed Apr 12 19:12:16 2006
@@ -1060,7 +1060,6 @@
     CHECK_VALIDITY(c->pstream, s->type == PLAYBACK_STREAM, tag, PA_ERR_NOENTITY);
 
     reply = reply_new(tag);
-    pa_tagstruct_put_usec(reply, pa_sink_input_get_latency(s->sink_input));
     pa_tagstruct_put_usec(reply, pa_sink_get_latency(s->sink_input->sink));
     pa_tagstruct_put_usec(reply, 0);
     pa_tagstruct_put_boolean(reply, pa_memblockq_is_readable(s->memblockq));
@@ -1091,7 +1090,6 @@
     CHECK_VALIDITY(c->pstream, s, tag, PA_ERR_NOENTITY);
 
     reply = reply_new(tag);
-    pa_tagstruct_put_usec(reply, pa_source_output_get_latency(s->source_output));
     pa_tagstruct_put_usec(reply, s->source_output->source->monitor_of ? pa_sink_get_latency(s->source_output->source->monitor_of) : 0);
     pa_tagstruct_put_usec(reply, pa_source_get_latency(s->source_output->source));
     pa_tagstruct_put_boolean(reply, 0);




More information about the pulseaudio-commits mailing list