Skip to content

Update dependencies, improve tests, bump to v2.0#122

Merged
HEnquist merged 1 commit intomasterfrom
adapter3
Apr 1, 2026
Merged

Update dependencies, improve tests, bump to v2.0#122
HEnquist merged 1 commit intomasterfrom
adapter3

Conversation

@HEnquist
Copy link
Copy Markdown
Owner

@HEnquist HEnquist commented Apr 1, 2026

No description provided.

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR bumps rubato to v2.0.0, updates core dependencies to audioadapter/audioadapter-buffers 3.x, and adjusts tests accordingly while also expanding async resampler test coverage.

Changes:

  • Bump crate version to 2.0.0, raise MSRV to Rust 1.85, and update dependency versions (notably audioadapter and audioadapter-buffers to 3.0).
  • Simplify random test data generation by switching from thread_rng()/Rng to rand::random() in multiple test modules.
  • Add new async tests validating that set_resample_ratio_relative() affects produced/consumed frame ratios as expected.

Reviewed changes

Copilot reviewed 9 out of 9 changed files in this pull request and generated no comments.

Show a summary per file
File Description
src/synchro.rs Removes unused rand::Rng import in tests.
src/sinc_interpolator/sinc_interpolator_sse.rs Updates tests to use rand::random() instead of thread_rng() + Rng.
src/sinc_interpolator/sinc_interpolator_neon.rs Updates tests to use rand::random() instead of thread_rng() + Rng.
src/sinc_interpolator/sinc_interpolator_avx.rs Updates tests to use rand::random() instead of thread_rng() + Rng.
src/sinc_interpolator/mod.rs Updates scalar interpolator tests to use rand::random() and removes Rng import.
src/lib.rs Re-exports audioadapter_buffers and updates test input generation to rand::random().
src/asynchro.rs Removes rand::Rng import and adds new tests/helpers for relative ratio frame-count behavior.
README.md Updates MSRV statement and adds v2.0.0 changelog entry.
Cargo.toml Bumps crate version/MSRV and updates dependency versions (including dev-deps).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@HEnquist HEnquist merged commit 63c2107 into master Apr 1, 2026
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants