Merge branch 'main' of github.com:Bubobubobubobubo/cagire

This commit is contained in:
2026-02-02 19:12:37 +01:00
4 changed files with 10 additions and 2 deletions

View File

@@ -257,7 +257,7 @@ pub fn build_stream(
};
let default_config = device.default_output_config().map_err(|e| e.to_string())?;
let sample_rate = default_config.sample_rate().0 as f32;
let sample_rate = default_config.sample_rate() as f32;
let buffer_size = if config.buffer_size > 0 {
cpal::BufferSize::Fixed(config.buffer_size)