mpv/audio/out
wm4 fb54a1436a audio: don't wait for draining if paused
Logic for this was missing from pull.c. For push.c it was missing if the
driver didn't support it. But even if the driver supported it (such as
with ao_alsa), strange behavior was observed by users. See issue #933.

Always check explicitly whether the AO is in paused mode, and if so,
don't drain.

Possibly fixes #933.

CC: @mpv-player/stable
2014-07-13 20:06:33 +02:00
..
ao.c audio: don't wait for draining if paused 2014-07-13 20:06:33 +02:00
ao.h
ao_alsa.c Audit and replace all ctype.h uses 2014-07-01 23:11:08 +02:00
ao_coreaudio.c ao_coreaudio: report hardware latency to ao_read_data 2014-07-03 20:05:15 +02:00
ao_coreaudio_device.c ao_coreaudio: fill asbd with an helper function 2014-07-02 21:43:07 +02:00
ao_coreaudio_properties.c
ao_coreaudio_properties.h ao_coreaudio: report hardware latency to ao_read_data 2014-07-03 20:05:15 +02:00
ao_coreaudio_utils.c ao_coreaudio: move channel mapping away from utils 2014-07-02 21:43:08 +02:00
ao_coreaudio_utils.h ao_coreaudio: move channel mapping away from utils 2014-07-02 21:43:08 +02:00
ao_dsound.c af_fmt2bits: change to af_fmt2bps (bytes/sample) where appropriate 2014-05-28 21:38:00 +02:00
ao_jack.c audio/out/pull: remove race conditions 2014-05-29 02:24:17 +02:00
ao_lavc.c encode: get rid of the recursion that led to a deadlock. 2014-06-12 11:42:00 +02:00
ao_null.c ao_null: disable latency emulation 2014-07-07 18:00:48 +02:00
ao_openal.c
ao_oss.c build: include <strings.h> for strcasecmp() 2014-07-10 08:29:32 +02:00
ao_pcm.c ao_pcm: fix message strings 2014-06-15 09:25:15 +02:00
ao_portaudio.c audio/out/pull: remove race conditions 2014-05-29 02:24:17 +02:00
ao_pulse.c ao_pulse: set icon name 2014-07-05 17:07:16 +02:00
ao_rsound.c
ao_sdl.c audio/out/pull: remove race conditions 2014-05-29 02:24:17 +02:00
ao_sndio.c
ao_wasapi.c audio/out/pull: remove race conditions 2014-05-29 02:24:17 +02:00
ao_wasapi.h atomics: switch to C11 stdatomic.h 2014-05-21 02:21:18 +02:00
ao_wasapi_utils.c ao_wasapi: simplify nAvgBytesPerSec calculation 2014-05-28 21:38:15 +02:00
ao_wasapi_utils.h
internal.h audio: don't wait for draining if paused 2014-07-13 20:06:33 +02:00
pull.c audio: don't wait for draining if paused 2014-07-13 20:06:33 +02:00
push.c audio: don't wait for draining if paused 2014-07-13 20:06:33 +02:00