From 4160824b1057fa90c35fdcefd2d2155366b2d8f4 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 16 Sep 2024 21:55:32 -0600 Subject: [PATCH] Update Rust crate rodio to 0.19.0 (#17389) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [rodio](https://redirect.github.com/RustAudio/rodio) | dependencies | minor | `0.17.1` -> `0.19.0` | --- ### Release Notes
RustAudio/rodio (rodio) ### [`v0.19.0`](https://redirect.github.com/RustAudio/rodio/blob/HEAD/CHANGELOG.md#Version-0190-2024-06-29) [Compare Source](https://redirect.github.com/RustAudio/rodio/compare/v0.18.1...v0.19.0) ##### Added - Adds a new source `track_position`. It keeps track of duration since the beginning of the underlying source. ##### Fixed - Mp4a with decodable tracks after undecodable tracks now play. This matches VLC's behaviour. ### [`v0.18.1`](https://redirect.github.com/RustAudio/rodio/blob/HEAD/CHANGELOG.md#Version-0181-2024-05-23) [Compare Source](https://redirect.github.com/RustAudio/rodio/compare/v0.18.0...v0.18.1) ##### Fixed - Seek no longer hangs if the sink is empty. ### [`v0.18.0`](https://redirect.github.com/RustAudio/rodio/blob/HEAD/CHANGELOG.md#Version-0180-2024-05-05) [Compare Source](https://redirect.github.com/RustAudio/rodio/compare/v0.17.3...v0.18.0) ##### Changed - `Source` trait is now also implemented for `Box` and `&mut Source` - `fn new_vorbis` is now also available when the `symphonia-vorbis` feature is enabled ##### Added - Adds a new method `try_seek` to all sources. It returns either an error or seeks to the given position. A few sources are "unsupported" they return the error `Unsupported`. - Adds `SpatialSink::clear()` bringing it in line with `Sink` ##### Fixed - channel upscaling now follows the 'WAVEFORMATEXTENSIBLE' format and no longer repeats the last source channel on all extra output channels. Stereo content playing on a 5.1 speaker set will now only use the front left and front right speaker instead of repeating the right sample on all speakers except the front left one. - `mp3::is_mp3()` no longer changes the position in the stream when the stream is mp3
--- ### Configuration 📅 **Schedule**: Branch creation - "after 3pm on Wednesday" in timezone America/New_York, Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- Release Notes: - N/A Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- Cargo.lock | 5 +++-- crates/audio/Cargo.toml | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 111360b965..b31beee09c 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -9278,12 +9278,13 @@ dependencies = [ [[package]] name = "rodio" -version = "0.17.3" +version = "0.19.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3b1bb7b48ee48471f55da122c0044fcc7600cfcc85db88240b89cb832935e611" +checksum = "6006a627c1a38d37f3d3a85c6575418cfe34a5392d60a686d0071e1c8d427acb" dependencies = [ "cpal", "hound", + "thiserror", ] [[package]] diff --git a/crates/audio/Cargo.toml b/crates/audio/Cargo.toml index bfe22de1f0..9502b58f93 100644 --- a/crates/audio/Cargo.toml +++ b/crates/audio/Cargo.toml @@ -18,5 +18,5 @@ collections.workspace = true derive_more.workspace = true gpui.workspace = true parking_lot.workspace = true -rodio = { version = "0.17.1", default-features = false, features = ["wav"] } +rodio = { version = "0.19.0", default-features = false, features = ["wav"] } util.workspace = true