mirror of
https://github.com/storytold/filmcraft.git
synced 2026-11-16 23:34:24 +00:00
* codecs: resampled audio does not depend on where a read starts (#4673) The MP4, Matroska, AVI, MPEG, MXF and Ogg Opus readers computed each output sample's resample position relative to the request start, so f64 rounding gave the same sample different weights under different request cuts. They now share filmcraft_media::resample_window_into, which works from the absolute output index like read_resampled and the WAV reader. * tests: use white noise and rates where cut dependence shows in the output (#4673) * tests: build the cut-independence fixtures in the crates, with full-precision samples (#4673) * mxf test: write the file with craft-media's writer (#4673) * tests: read at a large ratio so source positions reach the millions (#4673) * mpeg test: drop redundant parentheses (#4673) * review: blend an out-of-window left neighbour, tighten the helper tests (#4673)