From b93cd08dfaadc5aae6827e45ae221fc0b960e1ff Mon Sep 17 00:00:00 2001 From: Robbert van der Helm Date: Thu, 10 Nov 2022 14:14:12 +0100 Subject: [PATCH] Default cpal backend to 48 kHz sample rate This is probably a safer default for most regular computers. --- src/wrapper/standalone/config.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wrapper/standalone/config.rs b/src/wrapper/standalone/config.rs index f4b059aa..eff97839 100644 --- a/src/wrapper/standalone/config.rs +++ b/src/wrapper/standalone/config.rs @@ -34,7 +34,7 @@ pub struct WrapperConfig { /// The audio backend's sample rate. /// /// This setting is ignored when using the JACK backend. - #[clap(value_parser, short = 'r', long, default_value = "44100")] + #[clap(value_parser, short = 'r', long, default_value = "48000")] pub sample_rate: f32, /// The audio backend's period size. ///