summaryrefslogtreecommitdiffstats
path: root/wscript_build.py
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-02-11 15:46:12 +0100
committerwm4 <wm4@nowhere>2015-02-11 16:32:40 +0100
commit6f24a61d842c8ae495bbf5d38d6d87fea01d726a (patch)
tree128553b7c16f4206317a6bb82447325e68e0d73b /wscript_build.py
parent76501f4f57d6d00a914a2e7242ab393fb751a190 (diff)
downloadmpv-6f24a61d842c8ae495bbf5d38d6d87fea01d726a.tar.bz2
mpv-6f24a61d842c8ae495bbf5d38d6d87fea01d726a.tar.xz
af_rubberband: attempt to fix audio position calculation
The problem here is that librubberband can buffer an arbitrary amount of data, but at the same time doesn't provide a way to query how much data is buffered. So we keep track of this manually, assuming that librubberband tries to reach the requested time ratio for input and output (which is probably true). The disadvantage is that rounding errors could accumulate over time. (Maybe it should try to round towards keeping the time ratio.)
Diffstat (limited to 'wscript_build.py')
0 files changed, 0 insertions, 0 deletions