mirror of
https://github.com/mpv-player/mpv
synced 2024-12-19 21:31:52 +00:00
e0f8d79772
Small adjustments to the playback speed use swr_set_compensation() to stretch the audio as it is required. But since large adjustments are now handled by actually reinitializing libswresample, the small adjustments get rounded off completely with typical frame sizes. Compensate for this by accounting for the rounding error and keeping track of fractional samples that should have been output to achieve the correct ratio. This fixes display sync mode behavior, which requires these adjustments to be relatively accurate. |
||
---|---|---|
.. | ||
af_channels.c | ||
af_delay.c | ||
af_drc.c | ||
af_equalizer.c | ||
af_format.c | ||
af_lavcac3enc.c | ||
af_lavfi.c | ||
af_lavrresample.c | ||
af_pan.c | ||
af_rubberband.c | ||
af_scaletempo.c | ||
af_volume.c | ||
af.c | ||
af.h | ||
equalizer.h | ||
tools.c |