1
0
mirror of https://github.com/mpv-player/mpv synced 2025-03-25 04:38:01 +00:00
mpv/audio
wm4 ab4e0c42fb audio: redo video-sync=display-adrop
This mode drops or repeats audio data to adapt to video speed, instead
of resampling it or such. It was added to deal with SPDIF. The
implementation was part of fill_audio_out_buffers() - the entire
function is something whose complexity exploded in my face, and which I
want to clean up, and this is hopefully a first step.

Put it in a filter, and mess with the shitty glue code. It's all sort of
roundabout and illogical, but that can be rectified later. The important
part is that it works much like the resample or scaletempo filters.

For PCM audio, this does not work on samples anymore. This makes it much
worse. But for PCM you can use saner mechanisms that sound better. Also,
something about PTS tracking is wrong. But not wasting more time on
this.
2020-05-23 04:04:46 +02:00
..
decode options: change option macros and all option declarations 2020-03-18 19:52:01 +01:00
filter audio: redo video-sync=display-adrop 2020-05-23 04:04:46 +02:00
out ao_oss: remove this audio output 2020-03-28 20:59:31 +01:00
aframe.c Remove remains of Libav compatibility 2020-02-16 15:14:55 +01:00
aframe.h Implement backwards playback 2019-09-19 20:37:04 +02:00
audio_buffer.c audio_buffer: fix some more theoretical UB 2019-09-19 20:37:05 +02:00
audio_buffer.h audio_buffer: remove dependency on mp_audio 2017-09-21 04:10:19 +02:00
chmap_sel.c
chmap_sel.h
chmap.c
chmap.h
fmt-conversion.c audio: add support for AV_SAMPLE_FMT_S64* 2019-09-27 21:21:34 +02:00
fmt-conversion.h
format.c audio: fix copy&paste error 2019-09-27 21:31:04 +02:00
format.h audio: add support for AV_SAMPLE_FMT_S64* 2019-09-27 21:21:34 +02:00