summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2006-04-12 17:12:16 +0000
committerLennart Poettering <lennart@poettering.net>2006-04-12 17:12:16 +0000
commit77c2a1f561e8995ad62a38dfe1586577d5e93377 (patch)
treea65d88d186102b51d3b0658c0de0341616c84720
parentb5d177d90bea33237bb8c55320c2595ba12b0550 (diff)
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
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@685 fefdeb5f-60dc-0310-8127-8f9354f1896f
-rw-r--r--src/polypcore/protocol-native.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/polypcore/protocol-native.c b/src/polypcore/protocol-native.c
index 51280c84..2aedd390 100644
--- a/src/polypcore/protocol-native.c
+++ b/src/polypcore/protocol-native.c
@@ -1060,7 +1060,6 @@ static void command_get_playback_latency(PA_GCC_UNUSED pa_pdispatch *pd, PA_GCC_
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 @@ static void command_get_record_latency(PA_GCC_UNUSED pa_pdispatch *pd, PA_GCC_UN
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);