fix: change default sample rate to 16khz
This commit is contained in:
@@ -16,7 +16,7 @@ pub static AUDIO_CONFIG: LazyLock<AudioConfig> = LazyLock::new(|| AudioConfig {
|
|||||||
pcm: "noop".into(),
|
pcm: "noop".into(),
|
||||||
channels: 1,
|
channels: 1,
|
||||||
bits_per_sample: 16,
|
bits_per_sample: 16,
|
||||||
sample_rate: 24000,
|
sample_rate: 16000,
|
||||||
period_size: 1440 / 4,
|
period_size: 1440 / 4,
|
||||||
buffer_size: 1440,
|
buffer_size: 1440,
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user