1
mirror of https://github.com/mpv-player/mpv synced 2024-11-18 21:16:10 +01:00
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 ao_jack: remove "alsa" std-channel-layout choice 2015-11-07 15:20:34 +01:00
audio_buffer.c player: add audio drop/duplicate mode 2015-10-27 20:56:46 +01:00
audio_buffer.h player: add audio drop/duplicate mode 2015-10-27 20:56:46 +01:00
audio.c audio: use AVFrames with more than 8 channels correctly 2015-10-26 15:54:00 +01:00
audio.h audio: move PTS setting out of the decoder 2015-11-08 17:22:56 +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
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
fmt-conversion.c Update license headers 2015-04-13 12:10:01 +02:00
fmt-conversion.h Update license headers 2015-04-13 12:10:01 +02:00
format.c audio: fix af_fmt_change_bytes() with spdif formats 2015-11-07 15:07:50 +01:00
format.h ao_lavc: use new sample format determination code 2015-09-10 23:38:42 +02:00
mixer.c audio: fix restoring volume 2015-07-27 15:07:51 +02:00
mixer.h audio: change range of volume option/property 2015-05-22 18:35:03 +02:00