1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-29 02:22:19 +00:00
mpv/audio/out
Kacper Michajłow 3dc661fe8e ao_wasapi: remove infinite loop hack in AOCONTROL_UPDATE_STREAM_TITLE
Instead of brute forcing the name until it is set, without any error
checking and expecting it would start to work, fallback to client name
if initial request fails.

Fixes player going into infinite loop with very long title names. The
API rejects unreasonably long names, which make sense.

As for alleged "weird race condition in the IAudioSessionControl itself"
I cannot comment. It works on my end and even if it fails, it is not a
critical error or even something that we should care about... and
obviously not hang the whole player for that.

Fixes: #11803
2023-06-21 17:31:59 +02:00
..
ao_alsa.c options: remove explicit initialization of integers to 0 2023-02-21 17:15:17 +00:00
ao_audiotrack.c options: transition options from OPT_FLAG to OPT_BOOL 2023-02-21 17:15:17 +00:00
ao_audiounit.m various: drop unused #include "config.h" 2023-02-20 14:21:18 +00:00
ao_coreaudio_chmap.c
ao_coreaudio_chmap.h
ao_coreaudio_exclusive.c options: transition commands from OPT_FLAG to OPT_BOOL 2023-02-21 17:15:17 +00:00
ao_coreaudio_properties.c various: fix typos 2022-04-25 09:07:18 -04:00
ao_coreaudio_properties.h
ao_coreaudio_utils.c ao_coreaudio: use device's nominal sample rate for latency properties 2022-12-10 18:15:46 +02:00
ao_coreaudio_utils.h ao_coreaudio: specify UTF-8 as text encoding for CFString conversions 2022-10-29 00:00:09 +03:00
ao_coreaudio.c options: transition options from OPT_FLAG to OPT_BOOL 2023-02-21 17:15:17 +00:00
ao_jack.c options: transition options from OPT_FLAG to OPT_BOOL 2023-02-21 17:15:17 +00:00
ao_lavc.c ao_lavc: remove unused code 2023-02-02 14:23:02 +00:00
ao_null.c options: transition options from OPT_FLAG to OPT_BOOL 2023-02-21 17:15:17 +00:00
ao_openal.c options: transition options from OPT_FLAG to OPT_BOOL 2023-02-21 17:15:17 +00:00
ao_opensles.c ao_opensles: add guards for sample rate to use 2021-11-19 14:27:52 +01:00
ao_oss.c ao_oss: return actual OSS playing state 2023-05-11 01:53:55 +00:00
ao_pcm.c options: transition options from OPT_FLAG to OPT_BOOL 2023-02-21 17:15:17 +00:00
ao_pipewire.c ao_pipewire: let sound server determine latency 2023-04-23 21:03:58 -07:00
ao_pulse.c options: transition options from OPT_FLAG to OPT_BOOL 2023-02-21 17:15:17 +00:00
ao_sdl.c various: drop unused #include "config.h" 2023-02-20 14:21:18 +00:00
ao_sndio.c various: drop unused #include "config.h" 2023-02-20 14:21:18 +00:00
ao_wasapi_changenotify.c
ao_wasapi_utils.c ao_wasapi: try mix format except for chmap 2020-03-19 20:39:44 +02:00
ao_wasapi.c ao_wasapi: remove infinite loop hack in AOCONTROL_UPDATE_STREAM_TITLE 2023-06-21 17:31:59 +02:00
ao_wasapi.h ao_wasapi: reorganize wasapi.h 2017-08-07 14:33:03 -07:00
ao.c ao: remove trailing NULL element from driver array 2023-01-16 19:25:54 +00:00
ao.h audio: simplify implementation of property ao-volume 2023-01-25 15:49:21 -08:00
buffer.c audio: fix crash during uninit on ao_lavc 2023-01-13 16:02:38 +00:00
internal.h ao: remove unused field 2020-08-31 20:23:44 +02:00