1
0
mirror of https://github.com/mpv-player/mpv synced 2025-01-04 22:20:22 +00:00
mpv/audio/out
wm4 bd41fc7723 audio/out/push: fix EOF heuristic
Since the internal AO driver API has no proper way to determine EOF, we
need to guess by querying get_delay. But some AOs (e.g. ao_pulse with
no-latency-hacks set) may never reach 0, maybe because they naively add
the latency to the buffer level. In this case our heuristic can break.

Fix by always using the delay to estimate the EOF time. It's not even
that important - it's mostly used to avoid blocking draining. So this
should be ok.

CC: @mpv-player/stable (maybe)
2014-10-10 13:18:53 +02:00
..
ao_alsa.c ao_alsa: implement device listing & selection 2014-10-09 21:22:44 +02:00
ao_coreaudio_device.c ao_coreaudio: fix build failure 2014-09-24 00:05:18 +02:00
ao_coreaudio_properties.c
ao_coreaudio_properties.h
ao_coreaudio_utils.c audio: cleanup spdif format definitions 2014-09-23 23:11:54 +02:00
ao_coreaudio_utils.h
ao_coreaudio.c audio/out: remove old things 2014-09-06 02:30:57 +02:00
ao_dsound.c audio: cleanup spdif format definitions 2014-09-23 23:11:54 +02:00
ao_jack.c
ao_lavc.c Move compat/ and bstr/ directory contents somewhere else 2014-08-29 12:31:52 +02:00
ao_null.c audio/out: always round get_space on period size 2014-09-06 12:59:00 +02:00
ao_openal.c audio/out: remove old things 2014-09-06 02:30:57 +02:00
ao_oss.c ao_oss: improve format negotiation, and hopefully fix pass-through 2014-09-24 01:12:14 +02:00
ao_pcm.c audio: cleanup spdif format definitions 2014-09-23 23:11:54 +02:00
ao_portaudio.c
ao_pulse.c ao_pulse: don't use pa_format_info_to_sample_spec() 2014-10-06 21:49:26 +02:00
ao_rsound.c audio: drop swapped-endian audio formats 2014-09-23 23:09:25 +02:00
ao_sdl.c audio: drop swapped-endian audio formats 2014-09-23 23:09:25 +02:00
ao_sndio.c ao_sndio: print a warning when draining audio 2014-09-26 15:46:39 +02:00
ao_wasapi_utils.c audio: cleanup spdif format definitions 2014-09-23 23:11:54 +02:00
ao_wasapi_utils.h
ao_wasapi.c audio/out: remove old things 2014-09-06 02:30:57 +02:00
ao_wasapi.h Move compat/ and bstr/ directory contents somewhere else 2014-08-29 12:31:52 +02:00
ao.c audio: add device selection & listing with --audio-device 2014-10-09 21:21:31 +02:00
ao.h audio: add device selection & listing with --audio-device 2014-10-09 21:21:31 +02:00
internal.h audio/out/push: fix EOF heuristic 2014-10-10 13:18:53 +02:00
pull.c audio/out: make EOF handling properly event-based 2014-09-05 23:45:54 +02:00
push.c audio/out/push: fix EOF heuristic 2014-10-10 13:18:53 +02:00