audio works

This commit is contained in:
2025-11-17 14:52:47 -07:00
parent 7efea9eb8d
commit 8c20864392
8 changed files with 100 additions and 71 deletions

View File

@@ -481,7 +481,8 @@ pub fn audio_buffer_ready() -> bool {
}
}
pub const AUDIO_BUFFER_LEN: usize = 1024;
pub const AUDIO_BUFFER_SAMPLES: usize = 1024;
pub const AUDIO_BUFFER_LEN: usize = AUDIO_BUFFER_SAMPLES * 2;
pub type SendAudioBuffer = extern "C" fn(ptr: *const u8, len: usize);