audio/hda: adjust larger gaps faster
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Message-id: 20180702145513.11481-1-kraxel@redhat.com
This commit is contained in:
parent
ab08440a4e
commit
9d340f6755
|
@ -203,6 +203,9 @@ static inline void hda_timer_sync_adjust(HDAAudioStream *st, int64_t target_pos)
|
|||
if (target_pos < -limit) {
|
||||
corr = -HDA_TIMER_TICKS;
|
||||
}
|
||||
if (target_pos < -(2 * limit)) {
|
||||
corr = -(4 * HDA_TIMER_TICKS);
|
||||
}
|
||||
if (corr == 0) {
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue