audio: more detailed debugging output

Dump what the AO does on driver->play().
This commit is contained in:
wm4 2014-06-12 00:30:48 +02:00
parent d07cd11b14
commit 9a0baa4c53
1 changed files with 2 additions and 0 deletions

View File

@ -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.