From 02c447c21d798e85f1af2b25e9133bf8a33380ed Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 23 Feb 2026 15:34:19 +0000 Subject: [PATCH 1/3] Update cpal requirement from 0.16.0 to 0.17.3 Updates the requirements on [cpal](https://github.com/RustAudio/cpal) to permit the latest version. - [Release notes](https://github.com/RustAudio/cpal/releases) - [Changelog](https://github.com/RustAudio/cpal/blob/master/CHANGELOG.md) - [Commits](https://github.com/RustAudio/cpal/compare/v0.16.0...v0.17.3) --- updated-dependencies: - dependency-name: cpal dependency-version: 0.17.3 dependency-type: direct:production ... Signed-off-by: dependabot[bot] --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 7dbb853..e9e06f4 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -19,7 +19,7 @@ smallvec = { version = "1.11.1", features = ["serde"] } thiserror = "2.0.3" [dev-dependencies] -cpal = "0.16.0" +cpal = "0.17.3" assert_no_alloc = "1.1.2" [build-dependencies] From bbb9f5bb97c84b1cd6bad51c7da5e9052cbbdf77 Mon Sep 17 00:00:00 2001 From: James Hallowell <5460955+JamesHallowell@users.noreply.github.com> Date: Wed, 22 Jul 2026 21:44:12 +0100 Subject: [PATCH 2/3] Fix example using cpal --- examples/hello_world.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/hello_world.rs b/examples/hello_world.rs index cbc8a2d..533739d 100644 --- a/examples/hello_world.rs +++ b/examples/hello_world.rs @@ -81,7 +81,7 @@ fn main() -> Result<(), Box> { .build_output_stream( &cpal::StreamConfig { channels: 1, - sample_rate: cpal::SampleRate(SAMPLE_RATE as u32), + sample_rate: SAMPLE_RATE as u32, buffer_size: cpal::BufferSize::Fixed(BLOCK_SIZE), }, move |data: &mut [f32], _: &cpal::OutputCallbackInfo| { From fa02f53d3691c56e05e2b1ed6e2382bead6652ee Mon Sep 17 00:00:00 2001 From: James Hallowell <5460955+JamesHallowell@users.noreply.github.com> Date: Wed, 22 Jul 2026 22:06:52 +0100 Subject: [PATCH 3/3] Fix Linux dependency installs --- .github/workflows/build.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 458a61d..93f36b5 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -29,7 +29,9 @@ jobs: - uses: actions/checkout@v4 - if: matrix.os == 'linux' name: Install dependencies - run: sudo apt-get install libasound2-dev + run: | + sudo apt-get update + sudo apt-get install libasound2-dev - name: Fetch Cmajor run: | scripts/fetch-cmajor.py ${{ matrix.cmajor_version }} ${{ matrix.os }} ${{ matrix.arch }}