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

This commit is contained in:
Maarten Lankhorst 2010-12-11 12:05:30 +01:00 committed by Colin Guthrie
parent 205cad6eed
commit 3e6af07496

View file

@ -493,7 +493,8 @@ static int sink_input_process_msg_cb(pa_msgobject *obj, int code, void *data, in
pa_assert_ctl_context(); pa_assert_ctl_context();
adjust_rates(u); if (u->adjust_time > 0)
adjust_rates(u);
return 0; return 0;
} }
} }