Paul B Mahol
0d46043619
avfilter/af_compensationdelay: always initialize w_ptr with 0
...
It will be changed later anyway, and in case inlink have 0 channels
(should never happen) it will not pick some random value.
2020-08-27 18:10:24 +02:00
Anton Khirnov
f30a41a608
Stop hardcoding align=32 in av_frame_get_buffer() calls.
...
Use 0, which selects the alignment automatically.
2020-05-22 14:38:57 +02:00
Paul B Mahol
88cbd25b19
avfilter: pass outlink to ff_get_audio_buffer()
...
This is more correct.
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2018-01-03 22:52:47 +01:00
Ganesh Ajjanagadde
fc703f53cf
lavfi/af_compensationdelay: replace pow(x,0.5) by sqrt(x)
...
sqrt is faster, and is sometimes more accurate depending on the libm.
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
2016-01-05 19:07:19 -08:00
Paul B Mahol
3f895dcb0d
avfilter: add compensation delay line filter
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2015-11-28 17:56:40 +01:00