mpv/audio
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
..
decode ad_lavc: avoid warning messages on older FFmpeg or Libav 2014-10-04 12:30:34 +02:00
filter audio/filter: allow removing filters by label 2014-10-02 02:50:12 +02:00
out audio/out/push: fix EOF heuristic 2014-10-10 13:18:53 +02:00
audio.c
audio.h
audio_buffer.c
audio_buffer.h
chmap.c
chmap.h
chmap_sel.c
chmap_sel.h
fmt-conversion.c
fmt-conversion.h
format.c audio: cleanup spdif format definitions 2014-09-23 23:11:54 +02:00
format.h audio: cleanup spdif format definitions 2014-09-23 23:11:54 +02:00
mixer.c
mixer.h