diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2018-06-22 13:11:58 +0200 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2018-06-25 13:57:57 +0200 |
commit | 8ced0669237b2bbedac3e4ce6fcf7aaaafaae663 (patch) | |
tree | 70d0a39a36200ceba2c2abd7c0556830d5ff08cb /hw/audio/trace-events | |
parent | 0a373bb310c1533e24aa5e3edbf206507fb342ea (diff) | |
download | qemu-8ced0669237b2bbedac3e4ce6fcf7aaaafaae663.zip qemu-8ced0669237b2bbedac3e4ce6fcf7aaaafaae663.tar.gz qemu-8ced0669237b2bbedac3e4ce6fcf7aaaafaae663.tar.bz2 |
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
Diffstat (limited to 'hw/audio/trace-events')
-rw-r--r-- | hw/audio/trace-events | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/audio/trace-events b/hw/audio/trace-events index 03340b9..30112d9 100644 --- a/hw/audio/trace-events +++ b/hw/audio/trace-events @@ -21,3 +21,4 @@ milkymist_ac97_out_cb_transferred(int transferred) "transferred %d" # hw/audio/hda-codec.c hda_audio_running(const char *stream, int nr, bool running) "st %s, nr %d, run %d" hda_audio_format(const char *stream, int chan, const char *fmt, int freq) "st %s, %d x %s @ %d Hz" +hda_audio_adjust(const char *stream, int pos) "st %s, pos %d" |