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

Colin Guthrie gitmailer-noreply at 0pointer.de
Mon Aug 23 07:53:32 PDT 2010


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  7ba22276d232270691dfb44328c6e794569a0c17 (commit)

- Log -----------------------------------------------------------------
ef8abcb alsa: resume smoother after unsuspend
-----------------------------------------------------------------------

Summary of changes:
 src/modules/alsa/alsa-source.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

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

commit ef8abcb1b515b676508bcd25d088c23c6a34fcd6
Author: Wim Taymans <wim.taymans at collabora.co.uk>
Date:   Mon Aug 23 11:59:13 2010 +0200

    alsa: resume smoother after unsuspend
    
    The smoother is paused when the device is suspended but never resumed on
    unsuspend. Pass the paused = FALSE flag to the pa_smoother_reset() call to make
    it unpause when unsuspending. This patch improves source timings quite a bit.

diff --git a/src/modules/alsa/alsa-source.c b/src/modules/alsa/alsa-source.c
index 381a706..bc07c77 100644
--- a/src/modules/alsa/alsa-source.c
+++ b/src/modules/alsa/alsa-source.c
@@ -949,7 +949,7 @@ static int unsuspend(struct userdata *u) {
     snd_pcm_start(u->pcm_handle);
 
     u->read_count = 0;
-    pa_smoother_reset(u->smoother, pa_rtclock_now(), TRUE);
+    pa_smoother_reset(u->smoother, pa_rtclock_now(), FALSE);
     u->smoother_interval = SMOOTHER_MIN_INTERVAL;
     u->last_smoother_update = 0;
 

-- 
hooks/post-receive
PulseAudio Sound Server



More information about the pulseaudio-commits mailing list