[pulseaudio-commits] [SCM] PulseAudio Sound Server branch, master, updated. 398514f577d2f0cb801320b3466a4c4e25b6586e

Lennart Poettering gitmailer-noreply at 0pointer.de
Mon Jun 23 15:06:29 PDT 2008


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

- Log -----------------------------------------------------------------
398514f... call update_source_requested_latency callback for source outputs only when it is set to non-NULL
-----------------------------------------------------------------------

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

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

commit 398514f577d2f0cb801320b3466a4c4e25b6586e
Author: Lennart Poettering <lennart at poettering.net>
Date:   Tue Jun 24 00:06:25 2008 +0200

    call update_source_requested_latency callback for source outputs only when it is set to non-NULL

diff --git a/src/pulsecore/source.c b/src/pulsecore/source.c
index 8256a98..e62c6c2 100644
--- a/src/pulsecore/source.c
+++ b/src/pulsecore/source.c
@@ -898,7 +898,8 @@ void pa_source_invalidate_requested_latency(pa_source *s) {
         s->update_requested_latency(s);
 
     while ((o = pa_hashmap_iterate(s->thread_info.outputs, &state, NULL)))
-        o->update_source_requested_latency(o);
+        if (o->update_source_requested_latency)
+            o->update_source_requested_latency(o);
 
     if (s->monitor_of)
         pa_sink_invalidate_requested_latency(s->monitor_of);

-- 
hooks/post-receive
PulseAudio Sound Server



More information about the pulseaudio-commits mailing list