mirror of
https://github.com/LegitCamper/picocalc-os-rs.git
synced 2025-12-27 15:55:25 +00:00
audio works
This commit is contained in:
@@ -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