From 9a0baa4c5310ed54915128dcb07796dea2f52fc6 Mon Sep 17 00:00:00 2001 From: wm4 Date: Thu, 12 Jun 2014 00:30:48 +0200 Subject: audio: more detailed debugging output Dump what the AO does on driver->play(). --- audio/out/push.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'audio/out/push.c') diff --git a/audio/out/push.c b/audio/out/push.c index 9b2355a0c2..6b04586b43 100644 --- a/audio/out/push.c +++ b/audio/out/push.c @@ -261,6 +261,8 @@ static void ao_play_data(struct ao *ao) // any new data (due to rounding to period boundaries). p->buffers_full = max >= space && r <= 0; p->avoid_ao_wait = (max == 0 && space > 0) || p->paused || stuck; + MP_TRACE(ao, "in=%d, space=%d r=%d flags=%d aw=%d full=%d f=%d\n", max, + space, r, flags, p->avoid_ao_wait, p->buffers_full, p->final_chunk); } // Estimate when the AO needs data again. -- cgit v1.2.3