@@ -18,8 +18,8 @@ See [Real-time considerations](#real-time-considerations) for more details.
1818## Input and output data format
1919
2020Input and output data is handled via
21- [ ` Adapter ` ] ( https://docs.rs/audioadapter/4 .0.0/audioadapter/trait.Adapter.html )
22- and [ ` AdapterMut ` ] ( https://docs.rs/audioadapter/4 .0.0/audioadapter/trait.AdapterMut.html )
21+ [ ` Adapter ` ] ( https://docs.rs/audioadapter/5 .0.0/audioadapter/trait.Adapter.html )
22+ and [ ` AdapterMut ` ] ( https://docs.rs/audioadapter/5 .0.0/audioadapter/trait.AdapterMut.html )
2323objects from the [ audioadapter] ( https://crates.io/crates/audioadapter ) crate.
2424By using a suitable adapter, any sample layout and format can be used.
2525
@@ -29,7 +29,7 @@ and the `audioadapter` traits are kept simple in order to make it easy to implem
2929for new structures if needed.
3030
3131For projects migrating from a previous version of ` rubato ` , the
32- [ ` SequentialSliceOfVecs ` ] ( https://docs.rs/audioadapter-buffers/4.0 .0/audioadapter_buffers/direct/struct.SequentialSliceOfVecs.html )
32+ [ ` SequentialSliceOfVecs ` ] ( https://docs.rs/audioadapter-buffers/5.1 .0/audioadapter_buffers/direct/struct.SequentialSliceOfVecs.html )
3333adapter is a good starting point, since it wraps the vector of vectors
3434commonly used with ` rubato ` v0.16 and earlier.
3535
@@ -405,7 +405,7 @@ Many audio editors, for example Audacity, are also able to directly import and e
405405
406406## Compatibility
407407
408- The ` rubato ` crate requires rustc version 1.85 or newer.
408+ The ` rubato ` crate requires rustc version 1.87 or newer.
409409
410410## Migrating from 3.x to 4.0
411411
@@ -497,6 +497,16 @@ async_resampler.set_resample_ratio_relative(0.95, true)?;
497497` ResamplerConstructionError ` , add a ` _ => ... ` arm.
498498
499499## Changelog
500+ - v5.0.0
501+ - Fix an out-of-bounds panic in the asynchronous resamplers when the resampling ratio is
502+ changed by a large factor with ` ramp = true ` . The input and output size estimates now
503+ average the step sizes rather than the ratios, and correct for the ramp overshoot, so the
504+ estimate is never lower than the number of frames the processing loop actually consumes.
505+ - Speed up the polynomial interpolation in ` Async::new_poly ` by evaluating the polynomials
506+ in Horner form.
507+ - Update to ` audioadapter ` 5.0 and ` audioadapter-buffers ` 5.1. Bump your own ` audioadapter `
508+ dependencies to match the versions ` rubato ` re-exports.
509+ - Raise the minimum supported rustc version to 1.87.
500510- v4.0.0
501511 - Update to ` audioadapter ` 4.0, which removes the lifetime parameter from the
502512 ` Adapter ` and ` AdapterMut ` traits.
0 commit comments