mpv/audio/out
wm4 e2184fcbfb audio: wake up the core when audio buffer is running low
And also add a function ao_need_data(), which AO drivers can call if
their audio buffer runs low.

This change intends to make it easier for the playback thread: instead
of making the playback thread calculate a timeout at which the audio
buffer should be refilled, make the push.c audio thread wakeup the core
instead.

ao_need_data() is going to be used by ao_pulse, and we need to
workaround a stupid situation with pulseaudio causing a deadlock because
its callback still holds the internal pulseaudio lock.

For AOs that don't call ao_need_data(), the deadline is calculated by
the buffer fill status and latency, as before.
2014-04-15 22:38:16 +02: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
ao_alsa.c af_lavrresample: remove avresample_set_channel_mapping() fallbacks 2014-03-16 13:19:28 +01:00
ao_coreaudio.c audio/out: make draining a separate operation 2014-03-09 01:27:41 +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_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 audio/out: make draining a separate operation 2014-03-09 01:27:41 +01: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.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_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
internal.h audio: wake up the core when audio buffer is running low 2014-04-15 22:38:16 +02:00
pull.c audio/out: make draining a separate operation 2014-03-09 01:27:41 +01:00
push.c audio: wake up the core when audio buffer is running low 2014-04-15 22:38:16 +02:00