1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-29 02:22:19 +00:00
mpv/audio/out
Dudemanguy 41c0321208 audio: drain ao before setting pause
There's an edge cause with gapless audio and pausing. Since, gapless
audio works by sending an EOF immediately, it's possible to pause on the
next file before audio actually finishes playing and thus the sound gets
cut off. The fix is to simply just always do an ao_drain if the ao is
about to set a pause on EOF and we still have audio playing.
Fixes #8898.
2023-08-11 22:28:50 +00:00
..
ao_alsa.c options: remove explicit initialization of integers to 0 2023-02-21 17:15:17 +00:00
ao_audiotrack.c ao_audiotrack: enable pcm-float by default 2023-08-08 20:15:20 +02: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: change license to LGPL 2017-05-08 13:57:40 +02:00
ao_coreaudio_utils.c osdep: move cfstr<->cstr conversions to a new apple_utils.c file 2023-06-25 11:01:58 +02:00
ao_coreaudio_utils.h osdep: move cfstr<->cstr conversions to a new apple_utils.c file 2023-06-25 11:01:58 +02: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: set media role during init() 2023-07-31 14:01:44 +02: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 ao_sndio: use sio_flush() to improve controls responsiveness 2023-07-30 19:28:14 +00:00
ao_wasapi_changenotify.c ao_wasapi_changenotify: use %ls instead of %S for wchar_t 2017-04-20 07:38:03 +02:00
ao_wasapi_utils.c ao_wasapi: use client name instead of hardcoded string 2023-06-21 17:31:59 +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: drain ao before setting pause 2023-08-11 22:28:50 +00:00
buffer.c audio: drain ao before setting pause 2023-08-11 22:28:50 +00:00
internal.h ao: remove unused field 2020-08-31 20:23:44 +02:00