mirror of
https://github.com/LegitCamper/picocalc-os-rs.git
synced 2026-10-23 06:57:36 -06:00
audio works
This commit is contained in:
1 parent
7efea9eb8d
commit
8c20864392
8 files changed
+99
-70
No files matched your search
+2
-1
@@ -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);
|
||||
|
||||
|
||||
Reference in new issue
Block a user