optimize audio

This commit is contained in:
csf
2021-12-28 22:36:43 +08:00
committed by csf-surface
parent 66e39b62a2
commit f69f6bc8d4
3 changed files with 40 additions and 24 deletions

View File

@@ -11,7 +11,7 @@ use std::{
};
type Xdo = *const c_void;
pub const PA_SAMPLE_RATE: u32 = 24000;
pub const PA_SAMPLE_RATE: u32 = 48000;
static mut UNMODIFIED: bool = true;
thread_local! {