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 stable-queue branch has been updated
      from  205cad6eed59c3ab110d03620de42a5e85d7a651 (commit)

- Log -----------------------------------------------------------------
3e6af07 module-loopback: Prevent an infinite loop when rate adjusting is 
disabled
-----------------------------------------------------------------------

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

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

commit 3e6af0749635ed8fafef5850483f8a6cbbd47840
Author: Maarten Lankhorst <[email protected]>
Date:   Sat Dec 11 12:05:30 2010 +0100

    module-loopback: Prevent an infinite loop when rate adjusting is disabled

diff --git a/src/modules/module-loopback.c b/src/modules/module-loopback.c
index 15ef96e..265a469 100644
--- a/src/modules/module-loopback.c
+++ b/src/modules/module-loopback.c
@@ -493,7 +493,8 @@ static int sink_input_process_msg_cb(pa_msgobject *obj, int 
code, void *data, in
 
             pa_assert_ctl_context();
 
-            adjust_rates(u);
+            if (u->adjust_time > 0)
+                adjust_rates(u);
             return 0;
         }
     }

-- 
hooks/post-receive
PulseAudio Sound Server
_______________________________________________
pulseaudio-commits mailing list
[email protected]
https://tango.0pointer.de/mailman/listinfo/pulseaudio-commits

Reply via email to