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
+1
-1
@@ -269,7 +269,7 @@ pub mod fs {
|
||||
}
|
||||
|
||||
pub mod audio {
|
||||
pub use abi_sys::{AUDIO_BUFFER_LEN, audio_buffer_ready};
|
||||
pub use abi_sys::{AUDIO_BUFFER_LEN, AUDIO_BUFFER_SAMPLES, audio_buffer_ready};
|
||||
|
||||
pub fn send_audio_buffer(buf: &[u8]) {
|
||||
abi_sys::send_audio_buffer(buf.as_ptr(), buf.len())
|
||||
|
||||
Reference in new issue
Block a user