projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ab08440
)
audio/hda: adjust larger gaps faster
author
Gerd Hoffmann
<kraxel@redhat.com>
Mon, 2 Jul 2018 14:55:11 +0000
(16:55 +0200)
committer
Gerd Hoffmann
<kraxel@redhat.com>
Tue, 3 Jul 2018 09:45:33 +0000
(11:45 +0200)
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Message-id:
20180702145513
.11481-1-kraxel@redhat.com
hw/audio/hda-codec.c
patch
|
blob
|
history
diff --git
a/hw/audio/hda-codec.c
b/hw/audio/hda-codec.c
index 31c66d4255c642f73a7c2167cb372b2df1c5a6fe..9f630fa37ffda87b3448672a2edf785f909abf4e 100644
(file)
--- a/
hw/audio/hda-codec.c
+++ b/
hw/audio/hda-codec.c
@@
-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;
}