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 01a853e0c0
commit 971bbe04a8

View file

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