Bump rodio from 0.21.1 to 0.22.1 #121

Merged
dependabot[bot] merged 2 commits from dependabot/cargo/rodio-0.22.1 into main 2026-03-07 14:53:28 +00:00
dependabot[bot] commented 2026-02-23 20:24:47 +00:00 (Migrated from github.com)

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. <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/RustAudio/rodio/blob/master/CHANGELOG.md">rodio's changelog</a>.</em></p> <blockquote> <h2>Version [0.22.1] (2026-02-22)</h2> <h3>Fixed</h3> <ul> <li>docs.rs could not build the documentation</li> </ul> <h2>Version [0.22] (2026-02-22)</h2> <h3>Added</h3> <ul> <li><code>Chirp</code> and <code>Empty</code> now implement <code>Iterator::size_hint</code> and <code>ExactSizeIterator</code>.</li> <li><code>SamplesBuffer</code> now implements <code>ExactSizeIterator</code>.</li> <li><code>Zero</code> now implements <code>try_seek</code>, <code>total_duration</code> and <code>Copy</code>.</li> <li>Added <code>Source::is_exhausted()</code> helper method to check if a source has no more samples.</li> <li>Added <code>Red</code> noise generator that is more practical than <code>Brownian</code> noise.</li> <li>Added <code>std_dev()</code> to <code>WhiteUniform</code> and <code>WhiteTriangular</code>.</li> <li>Added a macro <code>nz!</code> which facilitates creating NonZero's for <code>SampleRate</code> and <code>ChannelCount</code>.</li> <li>Adds a new input source: Microphone.</li> <li>Adds a new method on source: record which collects all samples into a SamplesBuffer.</li> <li>Adds <code>wav_to_writer</code> which writes a <code>Source</code> to a writer.</li> <li>Added supported for <code>I24</code> output (24-bit samples on 4 bytes storage).</li> <li>Added audio dithering support with <code>dither</code> feature (enabled by default): <ul> <li>Four dithering algorithms: <code>TPDF</code>, <code>RPDF</code>, <code>GPDF</code>, and <code>HighPass</code></li> <li><code>DitherAlgorithm</code> enum for algorithm selection</li> <li><code>Source::dither()</code> function for applying dithering</li> </ul> </li> <li>Added <code>64bit</code> feature to opt-in to 64-bit sample precision (<code>f64</code>).</li> <li>Added <code>SampleRateConverter::inner</code> to get underlying iterator by ref.</li> </ul> <h3>Fixed</h3> <ul> <li>docs.rs will now document all features, including those that are optional.</li> <li><code>Chirp::next</code> now returns <code>None</code> when the total duration has been reached, and will work correctly for a number of samples greater than 2^24.</li> <li><code>PeriodicAccess</code> is slightly more accurate for 44.1 kHz sample rate families.</li> <li>Fixed audio distortion when queueing sources with different sample rates/channel counts or transitioning from empty queue.</li> <li>Fixed <code>SamplesBuffer</code> to correctly report exhaustion and remaining samples.</li> <li>Improved precision in <code>SkipDuration</code> to avoid off-by-a-few-samples errors.</li> <li>Fixed channel misalignment in queue with non-power-of-2 channel counts (e.g., 6 channels) by ensuring frame-aligned span lengths.</li> <li>Fixed channel misalignment when sources end before their promised span length by padding with silence to complete frames.</li> <li>Fixed <code>Empty</code> source to properly report exhaustion.</li> <li>Fixed <code>Zero::current_span_len</code> returning remaining samples instead of span length.</li> </ul> <h3>Changed</h3> <ul> <li>Breaking: <em>Sink</em> terms are replaced with <em>Player</em> and <em>Stream</em> terms replaced with <em>Sink</em>. This is a simple rename, functionality is identical. <ul> <li><code>OutputStream</code> is now <code>MixerDeviceSink</code> (in anticipation of future <code>QueueDeviceSink</code>)</li> <li><code>OutputStreamBuilder</code> is now <code>DeviceSinkBuilder</code></li> <li><code>open_stream_or_fallback</code> is now <code>open_sink_or_fallback</code></li> <li><code>open_default_stream</code> is now <code>open_default_sink</code></li> </ul> </li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/RustAudio/rodio/commit/d45054ef25845289614d28f983d9049e7d39fb25"><code>d45054e</code></a> release hotfix for cargo docs</li> <li><a href="https://github.com/RustAudio/rodio/commit/f52478c33a6a7986828cd390c0b1233af84da3da"><code>f52478c</code></a> Merge pull request <a href="https://redirect.github.com/RustAudio/rodio/issues/849">#849</a> from aschey/docs/fix-build</li> <li><a href="https://github.com/RustAudio/rodio/commit/30a46d203d584ce20789df23ada148fc02f79b7b"><code>30a46d2</code></a> docs: fix build with unstable features</li> <li><a href="https://github.com/RustAudio/rodio/commit/998cecddceb51ffd58863b76434f4e17a04995af"><code>998cecd</code></a> Merge pull request <a href="https://redirect.github.com/RustAudio/rodio/issues/848">#848</a> from aschey/docs/default-decoder</li> <li><a href="https://github.com/RustAudio/rodio/commit/7f3057ac0def63c1a69e3062de60a7f339d404c0"><code>7f3057a</code></a> docs: fix inaccurate information about default decoder features</li> <li><a href="https://github.com/RustAudio/rodio/commit/5914494fc7b14a815035ba00597be629cf8fdc99"><code>5914494</code></a> fix publish ci</li> <li><a href="https://github.com/RustAudio/rodio/commit/3fd33fd75a58f64f66f25ff1069da10eab140daf"><code>3fd33fd</code></a> fix sample_rate::empty test</li> <li><a href="https://github.com/RustAudio/rodio/commit/6005efc56f3da45f9ee186b2126c46bf65b3fb95"><code>6005efc</code></a> fix CI not updating package list leading to broken urls</li> <li><a href="https://github.com/RustAudio/rodio/commit/a5cb295b36980629f35f917d2d82d1bd8525b785"><code>a5cb295</code></a> release rodio 0.22</li> <li><a href="https://github.com/RustAudio/rodio/commit/2b7439a881d42d2b521e937ca678915146466bb8"><code>2b7439a</code></a> Update MSRV to be rolling</li> <li>Additional commits viewable in <a href="https://github.com/RustAudio/rodio/compare/v0.21.1...v0.22.1">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=rodio&package-manager=cargo&previous-version=0.21.1&new-version=0.22.1)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) 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-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> 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) </details>
navicore commented 2026-03-07 14:42:00 +00:00 (Migrated from github.com)

@dependabot rebase

@dependabot rebase
Sign in to join this conversation.
No description provided.