[pulseaudio-discuss] [PATCH] module-loopback: Prevent an infinite loop when rate adjusting is disabled
Maarten Lankhorst
m.b.lankhorst at gmail.com
Sat Dec 11 03:05:30 PST 2010
---
src/modules/module-loopback.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/src/modules/module-loopback.c b/src/modules/module-loopback.c
index d94ea93..fee17f4 100644
--- a/src/modules/module-loopback.c
+++ b/src/modules/module-loopback.c
@@ -503,7 +503,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;
}
}
--
1.7.1
More information about the pulseaudio-discuss
mailing list