mpv/audio/out
Thomas Weißschuh 4f07607888 ao/pulse: wait for command completion when setting volume or mute
This makes the behavior of all control messages consistent,
fixing an inconsistency that has been with us since
4d8266c739 - which is the initial
rework of the polyaudio AO into the pulseaudio AO.

Muting the stream also directly triggers an update to the OSD.
When not waiting for the command completion this read of the mute
property may read the old state. A stale read.

Note that this somehow was not triggered on native Pulseaudio, but it is
an issue on Pipewire.

See https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/868
2021-03-09 23:08:16 +02:00
..
ao.c audio: fix inefficient behavior with ao_alsa, remove period_size field 2020-08-29 16:27:56 +02:00
ao.h audio: refactor how data is passed to AO 2020-08-29 13:12:32 +02:00
ao_alsa.c ao_alsa: handle -EPIPE XRUNs from snd_pcm_status 2020-11-09 16:12:49 +01:00
ao_audiotrack.c audio: redo internal AO API 2020-06-01 01:08:16 +02:00
ao_audiounit.m audio: remove unused ring.h includes 2020-08-27 11:55:20 +02:00
ao_coreaudio.c audio: remove unused ring.h includes 2020-08-27 11:55:20 +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 ao_lavc: slightly simplify filter use 2020-09-03 15:39:31 +02:00
ao_null.c audio: fix inefficient behavior with ao_alsa, remove period_size field 2020-08-29 16:27:56 +02:00
ao_openal.c ao_openal: restore working condition with new push API 2020-08-31 20:24:14 +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 ao/pulse: wait for command completion when setting volume or mute 2021-03-09 23:08:16 +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: take paused state into account in ao_start() 2020-09-20 18:52:54 +02:00
internal.h ao: remove unused field 2020-08-31 20:23:44 +02:00