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,7 +501,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;
} }
} }