]> git.proxmox.com Git - mirror_qemu.git/commit
audio/hda: tweak timer adjust logic
authorGerd Hoffmann <kraxel@redhat.com>
Fri, 22 Jun 2018 11:11:58 +0000 (13:11 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Mon, 25 Jun 2018 11:57:57 +0000 (13:57 +0200)
commit8ced0669237b2bbedac3e4ce6fcf7aaaafaae663
tree70d0a39a36200ceba2c2abd7c0556830d5ff08cb
parent0a373bb310c1533e24aa5e3edbf206507fb342ea
audio/hda: tweak timer adjust logic

We have some jitter in the audio timer call frequency and buffer sizes.
So it is rather pointless trying to be very exact, effect is a constant
up+down adjustment.  So adjust only in case we are off too much.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Message-id: 20180622111200.30561-4-kraxel@redhat.com
hw/audio/hda-codec.c
hw/audio/trace-events