From 8ced0669237b2bbedac3e4ce6fcf7aaaafaae663 Mon Sep 17 00:00:00 2001 From: Gerd Hoffmann Date: Fri, 22 Jun 2018 13:11:58 +0200 Subject: 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 Message-id: 20180622111200.30561-4-kraxel@redhat.com --- hw/audio/trace-events | 1 + 1 file changed, 1 insertion(+) (limited to 'hw/audio/trace-events') 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" -- cgit v1.1