mpv/audio/out
wm4 0d4e245de7 ao_pulse: change suspend circumvention logic
Commit 957097 attempted to use PA_STREAM_FAIL_ON_SUSPEND to make
ao_pulse exit if the stream was started suspended.

Unfortunately, PA_STREAM_FAIL_ON_SUSPEND is active even during playback.
If you pause mpv, pulseaudio will close the actual audio device after a
while (or something like this), and unpausing won't work. Instead, it
will spam "Entity killed" error messages.

Undo this change and check for suspended audio manually during init.

CC: @mpv-player/stable
2014-10-04 23:30:07 +02:00
..
ao.c
ao.h
ao_alsa.c
ao_coreaudio.c
ao_coreaudio_device.c
ao_coreaudio_properties.c
ao_coreaudio_properties.h
ao_coreaudio_utils.c
ao_coreaudio_utils.h
ao_dsound.c
ao_jack.c
ao_lavc.c
ao_null.c
ao_openal.c
ao_oss.c
ao_pcm.c
ao_portaudio.c
ao_pulse.c
ao_rsound.c
ao_sdl.c
ao_sndio.c
ao_wasapi.c
ao_wasapi.h
ao_wasapi_utils.c
ao_wasapi_utils.h
internal.h
pull.c
push.c