mirror of
https://github.com/mpv-player/mpv
synced 2025-02-02 21:21:33 +00:00
audio: more detailed debugging output
Dump what the AO does on driver->play().
This commit is contained in:
parent
d07cd11b14
commit
9a0baa4c53
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user