Default cpal backend to 48 kHz sample rate
This is probably a safer default for most regular computers.
This commit is contained in:
parent
ec061cd0e5
commit
b93cd08dfa
|
@ -34,7 +34,7 @@ pub struct WrapperConfig {
|
||||||
/// The audio backend's sample rate.
|
/// The audio backend's sample rate.
|
||||||
///
|
///
|
||||||
/// This setting is ignored when using the JACK backend.
|
/// 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,
|
pub sample_rate: f32,
|
||||||
/// The audio backend's period size.
|
/// The audio backend's period size.
|
||||||
///
|
///
|
||||||
|
|
Loading…
Reference in a new issue