mpv/player
wm4 cc52a03401 audio: slightly simplify pull underrun message printing
A previous commit moved the underrun reporting to report_underruns(),
and called it from get_space(). One reason was that I worried about
printing a log message from a "realtime" callback, so I tried to move it
out of the way. (Though there's little justification other than a bad
feeling. While an older version of the pull code tried to avoid any
mutexes at all in the callback to accommodate "requirements" from APIs
like jackaudio, we gave up on that. Nobody has complained yet.)

Simplify this and move underrun reporting back to the callback. But
instead of printing the message from there, move the message into the
playloop. Change the message slightly, because ao->log is inaccessible,
and without the log prefix (e.g. "[ao/alsa]"), some context is missing.
2020-02-13 18:02:16 +01:00
..
javascript js: require: directory-scripts: first look at <dir>/modules/ 2020-02-07 18:22:12 +02:00
lua osc: use cache state cache-duration field 2020-02-07 16:16:18 +01:00
audio.c audio: slightly simplify pull underrun message printing 2020-02-13 18:02:16 +01:00
client.c scripting: load scripts from directories 2020-02-01 18:09:40 +01:00
client.h scripting: load scripts from directories 2020-02-01 18:09:40 +01:00
command.c player: add ab-loop-count option/property 2020-02-08 15:01:33 +01:00
command.h command, vo: add a mechanism for runtime DPI scale changes 2020-01-09 19:13:42 +01:00
configfiles.c player: fix minor coding style issue 2020-01-26 14:29:48 +01:00
core.h scripting: load scripts from directories 2020-02-01 18:09:40 +01:00
external_files.c external_files: add .lrc subtitle extension 2019-09-02 01:25:43 +03:00
external_files.h player: get rid of mpv_global.opts 2018-05-24 19:56:35 +02:00
javascript.c js: require: directory-scripts: first look at <dir>/modules/ 2020-02-07 18:22:12 +02:00
loadfile.c playlist: change from linked list to an array 2019-12-28 21:32:15 +01:00
lua.c lua: fix typo in comment 2020-02-06 23:02:23 +01:00
main.c player: make failure to load scripts non-fatal again 2020-01-20 19:58:51 +01:00
misc.c player: add ab-loop-count option/property 2020-02-08 15:01:33 +01:00
osd.c player: format low cache duration with more decimals 2019-10-11 19:18:43 +02:00
playloop.c player: consider audio buffer if AO driver does not report underruns 2020-02-13 01:32:58 +01:00
screenshot.c screenshot: fix typo in comment 2020-02-07 13:42:42 +01:00
screenshot.h player: make screenshot each-frame mode more accurate 2020-02-07 13:32:21 +01:00
scripting.c scripting: give proper name to scripts using a directory 2020-02-06 19:38:22 +01:00
sub.c player: partially fix backward playback display of cached text subtitles 2020-02-04 20:26:35 +01:00
video.c player: make screenshot each-frame mode more accurate 2020-02-07 13:32:21 +01:00