1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-18 12:55:16 +00:00
mpv/audio/out
wm4 6c8362ef54 encode: rewrite half of it
The main change is that we wait with opening the muxer ("writing
headers") until we have data from all streams. This fixes race
conditions at init due to broken assumptions in the old code.

This also changes a lot of other stuff. I found and fixed a few API
violations (often things for which better mechanisms were invented, and
the old ones are not valid anymore). I try to get away from the public
mutex and shared fields in encode_lavc_context. For now it's still
needed for some timestamp-related fields, but most are gone. It also
removes some bad code duplication between audio and video paths.
2018-04-29 02:21:32 +03:00
..
ao_alsa.c ao_alsa: actually report underruns to user 2018-04-15 23:11:33 +03:00
ao_audiounit.m
ao_coreaudio_chmap.c
ao_coreaudio_chmap.h
ao_coreaudio_exclusive.c ao_coreaudio: insane hack for passing through AC3 as float PCM 2017-06-30 09:06:01 +02:00
ao_coreaudio_properties.c
ao_coreaudio_properties.h
ao_coreaudio_utils.c
ao_coreaudio_utils.h
ao_coreaudio.c
ao_jack.c Add checks for HAVE_GPL to various GPL-only source files 2017-10-10 15:51:16 +02:00
ao_lavc.c encode: rewrite half of it 2018-04-29 02:21:32 +03:00
ao_null.c ao_null: add --ao-null-format option for debugging 2018-01-30 03:10:27 -08:00
ao_openal.c ao_openal: document the muted↔gain conversion 2018-04-15 01:18:53 +03:00
ao_opensles.c ao_opensles: let cfg_frames_per_buffer accept buffer size up to 0.5s at 192kHz 2018-04-05 04:35:49 +03:00
ao_oss.c audio: fix annyoing af_get_best_sample_formats() definition 2018-01-25 20:18:32 -08:00
ao_pcm.c ao_pcm: drop AF_FORMAT_S24 usage 2017-07-07 17:56:18 +02:00
ao_pulse.c ao_pulse: reduce requested device buffer size 2018-04-15 23:11:33 +03:00
ao_rsound.c ao_rsound: allow setting the host 2017-08-21 15:46:00 +02:00
ao_sdl.c ao_sdl: fix default buffer size 2018-03-08 17:12:32 -08:00
ao_sndio.c ao_sndio: drop AF_FORMAT_S24 usage 2017-07-07 17:56:18 +02:00
ao_wasapi_changenotify.c
ao_wasapi_utils.c audio: fix annyoing af_get_best_sample_formats() definition 2018-01-25 20:18:32 -08:00
ao_wasapi.c ao_wasapi: return bool instead of HRESULT from thread_init 2017-08-07 14:33:03 -07:00
ao_wasapi.h ao_wasapi: reorganize wasapi.h 2017-08-07 14:33:03 -07:00
ao.c ao: do not allow actual buffer size of 0 2018-03-08 17:12:32 -08:00
ao.h audio: add audio softvol processing to AO 2017-11-29 21:30:51 +01:00
internal.h ao: simplify hack for float atomics 2017-11-30 01:20:03 +01:00
pull.c audio: add audio softvol processing to AO 2017-11-29 21:30:51 +01:00
push.c Fix various typos in log messages 2017-12-03 21:24:18 +01:00