Skip to content

Comments

Bump rodio from 0.21.1 to 0.22.1#35

Open
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/cargo/rodio-0.22.1
Open

Bump rodio from 0.21.1 to 0.22.1#35
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/cargo/rodio-0.22.1

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Feb 23, 2026

Bumps rodio from 0.21.1 to 0.22.1.

Changelog

Sourced from rodio's changelog.

Version [0.22.1] (2026-02-22)

Fixed

  • docs.rs could not build the documentation

Version [0.22] (2026-02-22)

Added

  • Chirp and Empty now implement Iterator::size_hint and ExactSizeIterator.
  • SamplesBuffer now implements ExactSizeIterator.
  • Zero now implements try_seek, total_duration and Copy.
  • Added Source::is_exhausted() helper method to check if a source has no more samples.
  • Added Red noise generator that is more practical than Brownian noise.
  • Added std_dev() to WhiteUniform and WhiteTriangular.
  • Added a macro nz! which facilitates creating NonZero's for SampleRate and ChannelCount.
  • Adds a new input source: Microphone.
  • Adds a new method on source: record which collects all samples into a SamplesBuffer.
  • Adds wav_to_writer which writes a Source to a writer.
  • Added supported for I24 output (24-bit samples on 4 bytes storage).
  • Added audio dithering support with dither feature (enabled by default):
    • Four dithering algorithms: TPDF, RPDF, GPDF, and HighPass
    • DitherAlgorithm enum for algorithm selection
    • Source::dither() function for applying dithering
  • Added 64bit feature to opt-in to 64-bit sample precision (f64).
  • Added SampleRateConverter::inner to get underlying iterator by ref.

Fixed

  • docs.rs will now document all features, including those that are optional.
  • Chirp::next now returns None when the total duration has been reached, and will work correctly for a number of samples greater than 2^24.
  • PeriodicAccess is slightly more accurate for 44.1 kHz sample rate families.
  • Fixed audio distortion when queueing sources with different sample rates/channel counts or transitioning from empty queue.
  • Fixed SamplesBuffer to correctly report exhaustion and remaining samples.
  • Improved precision in SkipDuration to avoid off-by-a-few-samples errors.
  • Fixed channel misalignment in queue with non-power-of-2 channel counts (e.g., 6 channels) by ensuring frame-aligned span lengths.
  • Fixed channel misalignment when sources end before their promised span length by padding with silence to complete frames.
  • Fixed Empty source to properly report exhaustion.
  • Fixed Zero::current_span_len returning remaining samples instead of span length.

Changed

  • Breaking: Sink terms are replaced with Player and Stream terms replaced with Sink. This is a simple rename, functionality is identical.
    • OutputStream is now MixerDeviceSink (in anticipation of future QueueDeviceSink)
    • OutputStreamBuilder is now DeviceSinkBuilder
    • open_stream_or_fallback is now open_sink_or_fallback
    • open_default_stream is now open_default_sink

... (truncated)

Commits
  • d45054e release hotfix for cargo docs
  • f52478c Merge pull request #849 from aschey/docs/fix-build
  • 30a46d2 docs: fix build with unstable features
  • 998cecd Merge pull request #848 from aschey/docs/default-decoder
  • 7f3057a docs: fix inaccurate information about default decoder features
  • 5914494 fix publish ci
  • 3fd33fd fix sample_rate::empty test
  • 6005efc fix CI not updating package list leading to broken urls
  • a5cb295 release rodio 0.22
  • 2b7439a Update MSRV to be rolling
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [rodio](https://github.com/RustAudio/rodio) from 0.21.1 to 0.22.1.
- [Changelog](https://github.com/RustAudio/rodio/blob/master/CHANGELOG.md)
- [Commits](RustAudio/rodio@v0.21.1...v0.22.1)

---
updated-dependencies:
- dependency-name: rodio
  dependency-version: 0.22.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file rust Pull requests that update rust code labels Feb 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file rust Pull requests that update rust code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants