[pulseaudio-commits] [SCM] PulseAudio Sound Server branch, master, updated. v0.9.16-test2-9-g3b01d3a

Lennart Poettering gitmailer-noreply at 0pointer.de
Thu Jul 23 04:57:23 PDT 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  41ad33dfe7334705939c9cf8f2e53f8ca1bf62ba (commit)

- Log -----------------------------------------------------------------
3b01d3a protocol-native: use the right samplerate
-----------------------------------------------------------------------

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

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

commit 3b01d3a53f3b9261b30c1f7e5fe28d269c28cdf0
Author: Wim Taymans <wim.taymans at collabora.co.uk>
Date:   Thu Jul 23 13:40:23 2009 +0200

    protocol-native: use the right samplerate
    
    The render_memblockq is expressed in the sample_spec of the sink, not of the
    particular stream before resampling.

diff --git a/src/pulsecore/protocol-native.c b/src/pulsecore/protocol-native.c
index 96184bd..9a37c56 100644
--- a/src/pulsecore/protocol-native.c
+++ b/src/pulsecore/protocol-native.c
@@ -2550,7 +2550,7 @@ static void command_get_playback_latency(pa_pdispatch *pd, uint32_t command, uin
     reply = reply_new(tag);
     pa_tagstruct_put_usec(reply,
                           s->current_sink_latency +
-                          pa_bytes_to_usec(s->render_memblockq_length, &s->sink_input->sample_spec));
+                          pa_bytes_to_usec(s->render_memblockq_length, &s->sink_input->sink->sample_spec));
     pa_tagstruct_put_usec(reply, 0);
     pa_tagstruct_put_boolean(reply,
                              s->playing_for > 0 &&

-- 
hooks/post-receive
PulseAudio Sound Server



More information about the pulseaudio-commits mailing list