1
0
mirror of https://github.com/mpv-player/mpv synced 2025-02-22 07:46:55 +00:00
mpv/audio/out
wm4 5aeec9aa70 audio: wake up the core when audio buffer is running low (2)
Same change as in e2184fcb, but this time for pull based AOs. This is
slightly controversial, because it will make a fast syscall from e.g.
ao_jack. And according to JackAudio developers, syscalls are evil and
will destroy realtime operation. But I don't think this is an issue at
all.

Still avoid locking a mutex. I'm not sure what jackaudio does in the
worst case - but if they set the jackaudio thread (and only this thread)
to realtime, we might run into deadlock situations due to priority
inversion and such. I'm not quite sure whether this can happen, but I'll
readily follow the cargo cult if it makes hack happy.
2014-04-15 22:50:16 +02:00
..
ao_alsa.c af_lavrresample: remove avresample_set_channel_mapping() fallbacks 2014-03-16 13:19:28 +01:00
ao_coreaudio_properties.c ao_coreaudio: move to new log API 2013-08-01 20:32:49 +02:00
ao_coreaudio_properties.h audio/out: make ao struct opaque 2014-03-09 00:19:31 +01:00
ao_coreaudio_utils.c msg: rename mp_msg_log -> mp_msg 2013-12-21 22:13:04 +01:00
ao_coreaudio_utils.h audio/out: make ao struct opaque 2014-03-09 00:19:31 +01:00
ao_coreaudio.c audio/out: make draining a separate operation 2014-03-09 01:27:41 +01:00
ao_dsound.c ao_dsound: remove duplicated code 2014-03-16 13:19:28 +01:00
ao_jack.c audio/out: make draining a separate operation 2014-03-09 01:27:41 +01:00
ao_lavc.c encode: add a missing \n to a log call 2014-04-10 23:58:12 +02:00
ao_null.c audio/out: make draining a separate operation 2014-03-09 01:27:41 +01:00
ao_openal.c audio/out: make draining a separate operation 2014-03-09 01:27:41 +01:00
ao_oss.c audio/out: make draining a separate operation 2014-03-09 01:27:41 +01:00
ao_pcm.c af_lavrresample: remove avresample_set_channel_mapping() fallbacks 2014-03-16 13:19:28 +01:00
ao_portaudio.c audio/out: make draining a separate operation 2014-03-09 01:27:41 +01:00
ao_pulse.c ao_pulse: use ao_need_data() 2014-04-15 22:42:15 +02:00
ao_rsound.c ao_rsound: pass correct data type to rsd_set_param() 2014-03-09 19:11:49 +01:00
ao_sdl.c ao_sdl: make sure our buffer is always larger than what SDL requests 2014-03-10 22:56:23 +01:00
ao_sndio.c audio/out: make draining a separate operation 2014-03-09 01:27:41 +01:00
ao_wasapi_utils.c ao_wasapi: make code shorter 2014-03-30 09:13:52 +02:00
ao_wasapi_utils.h ao_wasapi: Move non-critical code outside of the event thread 2014-03-11 16:37:02 -03:00
ao_wasapi.c ao_wasapi: Use the character set conversion functions from io.h 2014-03-11 16:37:22 -03:00
ao_wasapi.h ao_wasapi: Implement AOCONTROL_UPDATE_STREAM_TITLE 2014-03-11 16:37:22 -03:00
ao.c ao: print (estimated) device buffer size on init in verbose mode 2014-03-14 22:37:46 +01:00
ao.h audio/out: make draining a separate operation 2014-03-09 01:27:41 +01:00
internal.h audio: wake up the core when audio buffer is running low 2014-04-15 22:38:16 +02:00
pull.c audio: wake up the core when audio buffer is running low (2) 2014-04-15 22:50:16 +02:00
push.c audio: wake up the core when audio buffer is running low 2014-04-15 22:38:16 +02:00