1
mirror of https://code.videolan.org/videolan/vlc synced 2024-10-03 01:31:53 +02:00
vlc/modules/audio_output
Thomas Guillem 1d02d748ee coreaudio: fix sleep duration when the buffer is full
The previous calculation was wrong and could lead to two potential
issues:
 - Too much wake/sleep because the block remaining data is very small
 - Too long sleep, if the block is longer than the buffer size, that
   could lead to underrun

To fix this issue, use the same sleep calculation than wasapi.
2021-05-06 08:15:56 +00:00
..
adummy.c aout: dummy: implement TimeGet 2019-09-23 13:30:30 +02:00
alsa.c plugin: move config choice enum callbacks 2019-07-19 19:14:35 +03:00
amem.c thread: remove vlc_mutex_destroy() 2020-02-21 19:16:09 +02:00
audiotrack.c audiotrack: refactor 2020-12-01 12:16:05 +01:00
audiounit_ios.m thread: remove vlc_mutex_destroy() 2020-02-21 19:16:09 +02:00
auhal.c auhal: remove useless assignment 2021-04-27 17:32:05 +00:00
coreaudio_common.c coreaudio: fix sleep duration when the buffer is full 2021-05-06 08:15:56 +00:00
coreaudio_common.h auhal: rename i_dev_latency_us to i_dev_latency_ticks 2021-04-27 17:32:05 +00:00
directsound.c thread: remove vlc_cond_destroy() 2020-02-21 19:17:53 +02:00
file.c afile: use size_t for array size 2020-09-24 21:39:32 +03:00
jack.c aout: use a separate drain callback 2019-03-19 16:01:53 +01:00
kai.c thread: remove vlc_cond_destroy() 2020-02-21 19:17:53 +02:00
Makefile.am android: utils: build utils as a lib 2021-02-01 11:50:47 +01:00
mmdevice.c mmdevice: don't request gain from Open() 2020-11-30 09:35:49 +01:00
mmdevice.h mmdevice: pass play date to streams 2019-10-07 10:11:49 +02:00
opensles_android.c opensles_android: report mute state 2021-02-01 11:39:40 +01:00
oss.c aout: use a separate drain callback 2019-03-19 16:01:53 +01:00
pulse.c Revert "pulse: use pa_stream_begin_write()" (fixes #25187) 2021-02-08 17:14:13 +02:00
sndio.c aout: use a separate drain callback 2019-03-19 16:01:53 +01:00
vlcpulse.c rename VLC_TS_INVALID to VLC_TICK_INVALID 2018-07-03 07:10:07 +02:00
vlcpulse.h rename mtime_t to vlc_tick_t 2018-06-22 13:19:24 +02:00
volume.h config: remove unused config_PutFloat() parameter 2018-02-28 20:07:26 +02:00
wasapi.c vlc_codecs: fix twocc mmreg.h collisions 2021-02-09 18:51:29 +01:00
waveout.c thread: remove vlc_cond_destroy() 2020-02-21 19:17:53 +02:00
windows_audio_common.h remove the $Id$ in the source code 2019-01-17 12:21:18 +01:00
winstore.c audio_output/winstore: report the default device to the core 2020-11-25 07:19:13 +01:00