mpv/audio/out
wm4 c67f36dd18 audio: fix deadlock on draining
The playback thread may obviously still fill the AO'S entire audio
buffer, which means it unset p->draining, which makes no sense and broke
ao_drain(). So just don't unset it here.

Not sure if this really fixes this, it was hard to reproduce. Regression
due to the recent changes. There are probably many more bugs like this.
Stupid asynchronous nightmare state machine. Give me a language that
supports formal verification (in presence of concurrency) or something.
2020-06-04 12:42:36 +02:00
..
ao.c audio: redo internal AO API 2020-06-01 01:08:16 +02:00
ao.h audio: redo internal AO API 2020-06-01 01:08:16 +02:00
ao_alsa.c audio: further simplify internal audio API somewhat 2020-06-02 20:43:49 +02:00
ao_audiotrack.c audio: redo internal AO API 2020-06-01 01:08:16 +02:00
ao_audiounit.m audio: redo internal AO API 2020-06-01 01:08:16 +02:00
ao_coreaudio.c audio: redo internal AO API 2020-06-01 01:08:16 +02:00
ao_coreaudio_chmap.c
ao_coreaudio_chmap.h
ao_coreaudio_exclusive.c audio: redo internal AO API 2020-06-01 01:08:16 +02:00
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 audio: redo internal AO API 2020-06-01 01:08:16 +02:00
ao_lavc.c audio: redo internal AO API 2020-06-01 01:08:16 +02:00
ao_null.c audio: further simplify internal audio API somewhat 2020-06-02 20:43:49 +02:00
ao_openal.c audio: redo internal AO API 2020-06-01 01:08:16 +02:00
ao_opensles.c audio: redo internal AO API 2020-06-01 01:08:16 +02:00
ao_pcm.c audio: redo internal AO API 2020-06-01 01:08:16 +02:00
ao_pulse.c audio: further simplify internal audio API somewhat 2020-06-02 20:43:49 +02:00
ao_sdl.c audio: redo internal AO API 2020-06-01 01:08:16 +02:00
ao_wasapi.c audio: redo internal AO API 2020-06-01 01:08:16 +02:00
ao_wasapi.h
ao_wasapi_changenotify.c
ao_wasapi_utils.c ao_wasapi: try mix format except for chmap 2020-03-19 20:39:44 +02:00
buffer.c audio: fix deadlock on draining 2020-06-04 12:42:36 +02:00
internal.h audio: further simplify internal audio API somewhat 2020-06-02 20:43:49 +02:00