diff options
author | ferreum <code@ferreum.de> | 2023-08-15 19:45:12 +0200 |
---|---|---|
committer | Niklas Haas <github-daiK1o@haasn.dev> | 2023-09-20 14:36:23 +0200 |
commit | c0728249a18f5e7ec40332e002f4cd9fedc8e91c (patch) | |
tree | b532f85b04f064b7fc3c8fe9123e84ac9f51c91d /audio/filter/af_scaletempo2_internals.h | |
parent | f52cf90fedc3daf94fbf2118c6a5dd474c8e6c74 (diff) | |
download | mpv-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