[pulseaudio-commits] [SCM] PulseAudio Sound Server branch, master, updated. v0.9.19-239-gf3866f2

Lennart Poettering gitmailer-noreply at 0pointer.de
Tue Nov 10 19:05:10 PST 2009


This is an automated email from the git hooks/post-receive script. It was
generated because of a push to the "PulseAudio Sound Server" repository.

The master branch has been updated
      from  9e45f198d00591714f100431c5e7832b46ff4abd (commit)

- Log -----------------------------------------------------------------
f3866f2 protocol: use the right sample rate for sources
-----------------------------------------------------------------------

Summary of changes:
 src/pulsecore/protocol-native.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

-----------------------------------------------------------------------

commit f3866f263539578517ef36a670e04ca48fa2d1d3
Author: Wim Taymans <wim.taymans at collabora.co.uk>
Date:   Tue Nov 10 13:21:55 2009 +0100

    protocol: use the right sample rate for sources
    
    Use the correct sample rate for reporting about the timing.

diff --git a/src/pulsecore/protocol-native.c b/src/pulsecore/protocol-native.c
index bb29a19..d49a78e 100644
--- a/src/pulsecore/protocol-native.c
+++ b/src/pulsecore/protocol-native.c
@@ -2631,7 +2631,7 @@ static void command_get_record_latency(pa_pdispatch *pd, uint32_t command, uint3
     pa_tagstruct_put_usec(reply, s->current_monitor_latency);
     pa_tagstruct_put_usec(reply,
                           s->current_source_latency +
-                          pa_bytes_to_usec(s->on_the_fly_snapshot, &s->source_output->sample_spec));
+                          pa_bytes_to_usec(s->on_the_fly_snapshot, &s->source_output->source->sample_spec));
     pa_tagstruct_put_boolean(reply,
                              pa_source_get_state(s->source_output->source) == PA_SOURCE_RUNNING &&
                              pa_source_output_get_state(s->source_output) == PA_SOURCE_OUTPUT_RUNNING);

-- 
hooks/post-receive
PulseAudio Sound Server



More information about the pulseaudio-commits mailing list