SPB Git

Repository Public

lib.rs 827 B 23 lines rust

1//! ORIX Sonata2//! File: crates/sonata-ffi/src/lib.rs3//! Description: Stable C ABI consumed by the Swift app (SonataBridge).4//!5//! Author: Simon-Pierre Boucher6//! Contact: contact@spboucher.ai7//!8//! Every exported function is declared in `include/sonata.h`. Panics never cross the boundary:9//! control functions catch them and report an error; the audio callback outputs silence.1011// Every exported function takes raw pointers by the contract written in include/sonata.h12// (NULL or a live handle); the safe-looking wrappers check for NULL before any dereference.13#![allow(clippy::not_unsafe_ptr_arg_deref, clippy::missing_safety_doc, clippy::too_many_arguments, clippy::field_reassign_with_default)]1415pub mod adapter;16pub mod analysis;17mod audio;18pub mod compiler;19mod engine;20pub mod lab;21pub mod timeline;22mod util;23
Files main
Menu

Theme