0
0
mirror of https://github.com/mpv-player/mpv.git synced 2024-09-20 12:02:23 +02:00
mpv/audio
wm4 211088943c audio/out/pull: avoid dropping some audio when draining
If the audio API takes a while for starting the audio callback, the
current heuristic can be off. In particular, with very short files, it
can happen that the audio callback is not called before playback is
stopped, so no audio is output at all.

Change draining so that it essentially waits for the ringbuffer to
empty. The assumption is that once the audio API has read the data
via the callback, it will always output it, even if the audio API
is stopped right after the callback has returned.
2015-06-09 18:26:14 +02:00
..
decode audio: add --audio-spdif as new method for enabling passthrough 2015-06-05 22:42:59 +02:00
filter af_lavrresample: slightly better computation of total delay 2015-06-04 21:23:46 +02:00
out audio/out/pull: avoid dropping some audio when draining 2015-06-09 18:26:14 +02:00
audio_buffer.c Split mpvcore/ into common/, misc/, bstr/ 2013-12-17 02:39:45 +01:00
audio_buffer.h audio: add mp_audio_buffer 2013-11-12 23:28:21 +01:00
audio.c audio: introduce mp_audio readonly bit 2015-05-04 23:57:25 +02:00
audio.h audio: introduce mp_audio readonly bit 2015-05-04 23:57:25 +02:00
chmap_sel.c audio: redo channel map fallback selection 2015-05-08 19:33:17 +02:00
chmap_sel.h chmap_sel: add multichannel fallback heuristic 2014-12-29 17:56:53 +01:00
chmap.c chmap: use av_popcount64() 2015-05-21 20:37:17 +02:00
chmap.h audio: simplify further 2015-05-08 21:22:39 +02:00
fmt-conversion.c Update license headers 2015-04-13 12:10:01 +02:00
fmt-conversion.h Update license headers 2015-04-13 12:10:01 +02:00
format.c Update license headers 2015-04-13 12:10:01 +02:00
format.h audio: minor cosmetics 2015-05-05 21:47:36 +02:00
mixer.c audio: change range of volume option/property 2015-05-22 18:35:03 +02:00
mixer.h audio: change range of volume option/property 2015-05-22 18:35:03 +02:00