1
0
mirror of https://github.com/mpv-player/mpv synced 2025-03-29 23:07:56 +00:00
mpv/mpvcore/player
wm4 824e6550f8 audio/filter: fix mul/delay scale and values
Before this commit, the af_instance->mul/delay values were in bytes.
Using bytes is confusing for non-interleaved audio, so switch mul to
samples, and delay to seconds. For delay, seconds are more intuitive
than bytes or samples, because it's used for the latency calculation.
We also might want to replace the delay mechanism with real PTS
tracking inside the filter chain some time in the future, and PTS
will also require time-adjustments to be done in seconds.

For most filters, we just remove the redundant mul=1 initialization.
(Setting this used to be required, but not anymore.)
2013-11-12 23:34:35 +01:00
..
lua
timeline tl_matroska: initialize segment related arrays with 0 2013-11-01 17:35:38 +01:00
audio.c audio/filter: fix mul/delay scale and values 2013-11-12 23:34:35 +01:00
command.c input: remove unused key_down_event command 2013-11-06 00:08:38 +01:00
command.h
configfiles.c configure: uniform the defines to #define HAVE_xxx (0|1) 2013-11-03 21:59:54 +01:00
loadfile.c audio: switch output to mp_audio_buffer 2013-11-12 23:29:53 +01:00
main.c configure: uniform the defines to #define HAVE_xxx (0|1) 2013-11-03 21:59:54 +01:00
misc.c player: set PulseAudio stream title to window title 2013-11-10 00:49:13 +01:00
mp_core.h player: set PulseAudio stream title to window title 2013-11-10 00:49:13 +01:00
mp_lua.c configure: uniform the defines to #define HAVE_xxx (0|1) 2013-11-03 21:59:54 +01:00
mp_lua.h
osd.c player: set PulseAudio stream title to window title 2013-11-10 00:49:13 +01:00
playloop.c player: factor audio buffer clearing code 2013-11-08 20:29:26 +01:00
screenshot.c player: merge mp_osd.h into mp_core.h 2013-10-30 22:19:31 +01:00
screenshot.h
sub.c configure: uniform the defines to #define HAVE_xxx (0|1) 2013-11-03 21:59:54 +01:00
video.c player: set PulseAudio stream title to window title 2013-11-10 00:49:13 +01:00