mirror of
https://github.com/mpv-player/mpv
synced 2024-12-22 06:42:03 +00:00
824e6550f8
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.) |
||
---|---|---|
.. | ||
ad_lavc.c | ||
ad_mpg123.c | ||
ad_spdif.c | ||
ad.h | ||
dec_audio.c | ||
dec_audio.h |