summaryrefslogtreecommitdiffstats
path: root/audio/filter/af_scaletempo2_internals.h
diff options
context:
space:
mode:
authorferreum <code@ferreum.de>2023-08-15 19:45:12 +0200
committerNiklas Haas <github-daiK1o@haasn.dev>2023-09-20 14:36:23 +0200
commitc0728249a18f5e7ec40332e002f4cd9fedc8e91c (patch)
treeb532f85b04f064b7fc3c8fe9123e84ac9f51c91d /audio/filter/af_scaletempo2_internals.h
parentf52cf90fedc3daf94fbf2118c6a5dd474c8e6c74 (diff)
downloadmpv-c0728249a18f5e7ec40332e002f4cd9fedc8e91c.tar.bz2
mpv-c0728249a18f5e7ec40332e002f4cd9fedc8e91c.tar.xz
af_scaletempo2: restore exact audio sync on return to 1x speed
Target block can be anywhere in the previous search-block, varying by `search-interval` while the filter is active. This resulted in constant audio offset when returning to 1x playback speed. - Move the search block to the target block to sync up exactly. - Drop old frames to minimize input_buffer usage.
Diffstat (limited to 'audio/filter/af_scaletempo2_internals.h')
0 files changed, 0 insertions, 0 deletions