mpv/audio/filter
wm4 9774be0d15 af_lavrresample: simplify set_compensation usage
Just set the ratio directly by working around the intended semantics of
the API function. The silly rounding stuff we had isn't needed anymore
(and not entirely correct anyway).

Note that since the compensation is virtually active forever, we need to
reset if it's not needed. So always run this code to be sure to reset
it.

Also note that libswresample itself had a precision issue, until it
was fixed in FFmpeg commit 351e625d.
2015-11-11 19:28:37 +01:00
..
af.c af: prevent endless loop when removing filters due to spdif 2015-10-26 15:51:26 +01:00
af.h audio/filter: remove reentrancy flag 2015-09-20 14:44:44 +02:00
af_channels.c Update license headers 2015-04-13 12:10:01 +02:00
af_delay.c Update license headers 2015-04-13 12:10:01 +02:00
af_drc.c audio/filter: remove reentrancy flag 2015-09-20 14:44:44 +02:00
af_equalizer.c audio/filter: remove reentrancy flag 2015-09-20 14:44:44 +02:00
af_format.c audio/filters: use refcounted frames for some simple filters 2015-01-13 20:16:59 +01:00
af_lavcac3enc.c af_lavcac3enc: simplify/fix AVPacket handling 2015-11-04 21:49:54 +01:00
af_lavfi.c audio: use AVFrames with more than 8 channels correctly 2015-10-26 15:54:00 +01:00
af_lavrresample.c af_lavrresample: simplify set_compensation usage 2015-11-11 19:28:37 +01:00
af_pan.c Update license headers 2015-04-13 12:10:01 +02:00
af_rubberband.c af_rubberband: actually fix deadlock 2015-02-12 10:15:12 +01:00
af_scaletempo.c audio: do not require full audio chain reinit for speed changes 2015-11-04 21:49:54 +01:00
af_volume.c audio/filter: remove reentrancy flag 2015-09-20 14:44:44 +02:00
equalizer.h Update license headers 2015-04-13 12:10:01 +02:00
tools.c af: move af_from_dB() function to af_volume.c 2015-06-23 15:11:23 +02:00