1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-18 04:45:33 +00:00
mpv/audio/filter
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
..
af_bs2b.c audio/filter: fix mul/delay scale and values 2013-11-12 23:34:35 +01:00
af_center.c audio/filter: fix mul/delay scale and values 2013-11-12 23:34:35 +01:00
af_channels.c audio/filter: fix mul/delay scale and values 2013-11-12 23:34:35 +01:00
af_convert24.c audio/filter: fix mul/delay scale and values 2013-11-12 23:34:35 +01:00
af_convertsignendian.c audio/filter: fix mul/delay scale and values 2013-11-12 23:34:35 +01:00
af_delay.c audio/filter: fix mul/delay scale and values 2013-11-12 23:34:35 +01:00
af_drc.c audio/filter: fix mul/delay scale and values 2013-11-12 23:34:35 +01:00
af_dummy.c audio/filter: fix mul/delay scale and values 2013-11-12 23:34:35 +01:00
af_equalizer.c audio/filter: fix mul/delay scale and values 2013-11-12 23:34:35 +01:00
af_export.c audio/filter: fix mul/delay scale and values 2013-11-12 23:34:35 +01:00
af_extrastereo.c audio/filter: fix mul/delay scale and values 2013-11-12 23:34:35 +01:00
af_format.c audio/filter: fix mul/delay scale and values 2013-11-12 23:34:35 +01:00
af_hrtf.c audio/filter: fix mul/delay scale and values 2013-11-12 23:34:35 +01:00
af_hrtf.h Rename directories, move files (step 1 of 2) (does not compile) 2012-11-12 20:06:14 +01:00
af_karaoke.c audio/filter: fix mul/delay scale and values 2013-11-12 23:34:35 +01:00
af_ladspa.c audio/filter: fix mul/delay scale and values 2013-11-12 23:34:35 +01:00
af_lavcac3enc.c audio/filter: fix mul/delay scale and values 2013-11-12 23:34:35 +01:00
af_lavfi.c audio/filter: fix mul/delay scale and values 2013-11-12 23:34:35 +01:00
af_lavrresample.c audio/filter: fix mul/delay scale and values 2013-11-12 23:34:35 +01:00
af_pan.c audio/filter: fix mul/delay scale and values 2013-11-12 23:34:35 +01:00
af_scaletempo.c audio/filter: fix mul/delay scale and values 2013-11-12 23:34:35 +01:00
af_sinesuppress.c audio/filter: fix mul/delay scale and values 2013-11-12 23:34:35 +01:00
af_sub.c audio/filter: fix mul/delay scale and values 2013-11-12 23:34:35 +01:00
af_surround.c audio/filter: fix mul/delay scale and values 2013-11-12 23:34:35 +01:00
af_sweep.c audio/filter: fix mul/delay scale and values 2013-11-12 23:34:35 +01:00
af_tools.c af: replace macros with too generic names 2013-10-26 15:05:59 +02:00
af_volume.c audio/filter: fix mul/delay scale and values 2013-11-12 23:34:35 +01:00
af.c audio/filter: fix mul/delay scale and values 2013-11-12 23:34:35 +01:00
af.h audio/filter: fix mul/delay scale and values 2013-11-12 23:34:35 +01:00
control.h af_volume: remove unused features 2013-10-26 13:36:34 +02:00
dsp.h Rename directories, move files (step 1 of 2) (does not compile) 2012-11-12 20:06:14 +01:00
equalizer.h Rename directories, move files (step 1 of 2) (does not compile) 2012-11-12 20:06:14 +01:00
filter.c Rename directories, move files (step 1 of 2) (does not compile) 2012-11-12 20:06:14 +01:00
filter.h Rename directories, move files (step 1 of 2) (does not compile) 2012-11-12 20:06:14 +01:00
window.c Rename directories, move files (step 1 of 2) (does not compile) 2012-11-12 20:06:14 +01:00
window.h Rename directories, move files (step 1 of 2) (does not compile) 2012-11-12 20:06:14 +01:00