From 5cb051263ac36562bf2febd765d251cbfbd1a539 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 23 Dec 2025 09:06:33 +0000 Subject: [PATCH 1/2] Initial plan From 2343c47299fc965e10f2633c99f33d54dfe01a41 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 23 Dec 2025 09:10:17 +0000 Subject: [PATCH 2/2] Fix compiler error: remove .0 from sample_rate() call for cpal 0.17.0 Co-authored-by: antbern <40672068+antbern@users.noreply.github.com> --- cli/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli/src/main.rs b/cli/src/main.rs index 81170ad..5c2b084 100644 --- a/cli/src/main.rs +++ b/cli/src/main.rs @@ -114,7 +114,7 @@ fn setup_sound(rx: crossbeam_channel::Receiver) -> Result { println!("Default output config: {:?}", config); // construct the sound engine instance - let engine = Engine::new(rx, config.sample_rate().0 as f32); + let engine = Engine::new(rx, config.sample_rate() as f32); match config.sample_format() { cpal::SampleFormat::F32 => construct_stream::(&device, &config.into(), engine),