[polypaudio-commits] r647 - /trunk/src/polypcore/protocol-native.c
svnmailer-noreply at 0pointer.de
svnmailer-noreply at 0pointer.de
Thu Apr 6 17:23:39 PDT 2006
Author: lennart
Date: Fri Apr 7 02:23:38 2006
New Revision: 647
URL: http://0pointer.de/cgi-bin/viewcvs.cgi?rev=647&root=polypaudio&view=rev
Log:
remove queue length field from latency request (server side)
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=647&root=polypaudio&r1=646&r2=647&view=diff
==============================================================================
--- trunk/src/polypcore/protocol-native.c (original)
+++ trunk/src/polypcore/protocol-native.c Fri Apr 7 02:23:38 2006
@@ -1064,10 +1064,8 @@
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));
- pa_tagstruct_putu32(reply, pa_memblockq_get_length(s->memblockq));
pa_tagstruct_put_timeval(reply, &tv);
- pa_gettimeofday(&now);
- pa_tagstruct_put_timeval(reply, &now);
+ pa_tagstruct_put_timeval(reply, pa_gettimeofday(&now));
pa_tagstruct_puts64(reply, pa_memblockq_get_write_index(s->memblockq));
pa_tagstruct_puts64(reply, pa_memblockq_get_read_index(s->memblockq));
pa_pstream_send_tagstruct(c->pstream, reply);
@@ -1097,10 +1095,8 @@
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);
- pa_tagstruct_putu32(reply, pa_memblockq_get_length(s->memblockq));
pa_tagstruct_put_timeval(reply, &tv);
- pa_gettimeofday(&now);
- pa_tagstruct_put_timeval(reply, &now);
+ pa_tagstruct_put_timeval(reply, pa_gettimeofday(&now));
pa_tagstruct_puts64(reply, pa_memblockq_get_write_index(s->memblockq));
pa_tagstruct_puts64(reply, pa_memblockq_get_read_index(s->memblockq));
pa_pstream_send_tagstruct(c->pstream, reply);
More information about the pulseaudio-commits
mailing list