mpv/audio/out
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
..
ao.c audio: slightly simplify pull underrun message printing 2020-02-13 18:02:16 +01:00
ao.h player: consider audio buffer if AO driver does not report underruns 2020-02-13 01:32:58 +01:00
ao_alsa.c ao_alsa: use AO underrun reporting 2019-10-11 20:02:23 +02:00
ao_audiotrack.c audio: add ao_audiotrack for android 2019-11-19 12:10:26 -08:00
ao_audiounit.m ao/audiounit: include AVAudioSession buffer in latency calc 2019-04-05 10:29:44 +07:00
ao_coreaudio.c audio/out: rip out old unused app/softvolume reporting 2019-10-11 21:05:11 +02:00
ao_coreaudio_chmap.c
ao_coreaudio_chmap.h
ao_coreaudio_exclusive.c
ao_coreaudio_properties.c
ao_coreaudio_properties.h
ao_coreaudio_utils.c ao/audiounit: improve a/v sync 2019-04-05 10:29:44 +07:00
ao_coreaudio_utils.h ao/audiounit: improve a/v sync 2019-04-05 10:29:44 +07:00
ao_jack.c ao_jack: only auto-connect to audio ports 2018-09-26 22:44:48 +03:00
ao_lavc.c Replace uses of FFMIN/MAX with MPMIN/MAX 2019-10-31 11:24:20 +01:00
ao_null.c ao_null: add --ao-null-format option for debugging 2018-01-30 03:10:27 -08:00
ao_openal.c audio/out: rip out old unused app/softvolume reporting 2019-10-11 21:05:11 +02:00
ao_opensles.c ao_opensles: fix delayed audio 2019-09-02 00:38:05 +03:00
ao_oss.c audio/out: rip out old unused app/softvolume reporting 2019-10-11 21:05:11 +02:00
ao_pcm.c player: consider audio buffer if AO driver does not report underruns 2020-02-13 01:32:58 +01:00
ao_pulse.c audio/out: rip out old unused app/softvolume reporting 2019-10-11 21:05:11 +02:00
ao_rsound.c
ao_sdl.c player: consider audio buffer if AO driver does not report underruns 2020-02-13 01:32:58 +01:00
ao_sndio.c audio/out: rip out old unused app/softvolume reporting 2019-10-11 21:05:11 +02:00
ao_wasapi.c audio/out: rip out old unused app/softvolume reporting 2019-10-11 21:05:11 +02:00
ao_wasapi.h
ao_wasapi_changenotify.c
ao_wasapi_utils.c ao_wasapi_utils: remove invalid audio session icon path (fixes #7269) 2020-01-31 23:08:47 +11:00
internal.h player: consider audio buffer if AO driver does not report underruns 2020-02-13 01:32:58 +01:00
pull.c audio: slightly simplify pull underrun message printing 2020-02-13 18:02:16 +01:00
push.c player: consider audio buffer if AO driver does not report underruns 2020-02-13 01:32:58 +01:00