mpv/audio
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
..
decode dec_audio: add missing include 2015-11-08 20:01:20 +01:00
filter af_lavrresample: simplify set_compensation usage 2015-11-11 19:28:37 +01:00
out
audio.c
audio.h audio: move PTS setting out of the decoder 2015-11-08 17:22:56 +01:00
audio_buffer.c
audio_buffer.h
chmap.c chmap: remove MPlayer layouts 2015-11-07 15:22:30 +01:00
chmap.h chmap: remove MPlayer layouts 2015-11-07 15:22:30 +01:00
chmap_sel.c chmap: remove MPlayer layouts 2015-11-07 15:22:30 +01:00
chmap_sel.h chmap: remove MPlayer layouts 2015-11-07 15:22:30 +01:00
fmt-conversion.c
fmt-conversion.h
format.c
format.h
mixer.c
mixer.h