mpv/audio
wm4 b109d20ef7 audio/out: make EOF handling properly event-based
With --gapless-audio=no, changing from one file to the next apparently
made it hang, until the player was woken up by unrelated events like
input. The reason was that the AO doesn't notify the player of EOF
properly. the played was querying ao_eof_reached(), and then just went
to sleep, without anything waking it up.

Make it event-based: the AO wakes up the playloop if the EOF state
changes.

We could have fixed this in a simpler way by synchronously draining the
AO in these cases. But I think proper event handling is preferable.

Fixes: #1069
CC: @mpv-player/stable (perhaps)
2014-09-06 00:22:07 +02:00
..
decode Improve setting AVOptions 2014-08-02 03:12:33 +02:00
filter Improve setting AVOptions 2014-08-02 03:12:33 +02:00
out audio/out: make EOF handling properly event-based 2014-09-06 00:22:07 +02:00
audio.c af_fmt2bits: change to af_fmt2bps (bytes/sample) where appropriate 2014-05-28 21:38:00 +02:00
audio.h af_fmt2bits: change to af_fmt2bps (bytes/sample) where appropriate 2014-05-28 21:38:00 +02:00
audio_buffer.c
audio_buffer.h
chmap.c Add more const 2014-06-11 00:39:14 +02:00
chmap.h audio: add enum name for speaker id 2014-02-28 20:54:15 +01:00
chmap_sel.c Add more const 2014-06-11 00:39:14 +02:00
chmap_sel.h
fmt-conversion.c
fmt-conversion.h
format.c af_fmt2bits: change to af_fmt2bps (bytes/sample) where appropriate 2014-05-28 21:38:00 +02:00
format.h build: deal with endian mess 2014-07-10 00:58:56 +02:00
mixer.c player: show "neutral" position markers for OSD bars 2014-06-08 23:52:58 +02:00
mixer.h player: show "neutral" position markers for OSD bars 2014-06-08 23:52:58 +02:00