mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-02 09:01:46 -05:00
module-loopback: Prevent an infinite loop when rate adjusting is disabled
This commit is contained in:
parent
01a853e0c0
commit
971bbe04a8
1 changed files with 2 additions and 1 deletions
|
|
@ -501,7 +501,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;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue