aic-sdk = "=0.24.0". Core SDK: 0.24.0. Rust: 1.88 or newer. Public source: released aic-sdk crate. Start with the Rust guide for installation and a runnable audio example.
This reference covers root reexports, fields, variants, constructors, methods, macros and feature-dependent loading APIs. Raw FFI exports belong to the separate aic-sdk-sys crate, not aic_sdk.
Domains
Ownership and feature conventions
Native handles own resources released through Rust destruction. A model loaded from a file has static data lifetime, but its memory-mapped file must remain unchanged and present while dependent objects exist. A model created from borrowed bytes retains their lifetime in processors, VADs and analyzers.FileAnalyzer additionally borrows the model handle itself. Async constructors require Model<'static>.
Synchronous enhancement modifies &mut [f32]; VAD and collection read &[f32]. Async operations own Vec<f32> and return it only on success. Process a stream in order, with one stateful instance per independent stream. Send and Sync do not remove the methods’ borrowing and ordering requirements.
No Cargo features are enabled by default. This index includes conditionally available symbols, whose domain entries show the required feature next to the signature. There is no Rust ProcessorParameter::VoiceGain, FileAnalyzer::update_bearer_token or asynchronous model-download method in 0.24.0.
Symbol index
Traits and conversions
Ownership and trait contracts include destruction, thread transfer, copying and equality. Explicit conversions are processor parameters, VAD parameters, analysis results and native error codes.Documentation modules
The publicdocs module provides these documentation pages:
The reserved integration hook is for ai-coustics wrappers; applications should not call it.