Module audio

Module audio 

Source
Expand description

Audio graph engine for oveRTOS.

Provides safe wrappers around the C graph API: build a DAG of audio nodes (sources, processors, sinks), validate formats, and execute in topological order.

Structs§

AudioBuf
Audio buffer descriptor (borrowed from the C layer).
AudioFmt
Audio format descriptor.
Graph
Owned audio graph session.
StaticProcessor
A static wrapper for an AudioProcessor that provides safe &'static mut access for graph_add_processor.

Enums§

SampleFmt
Audio sample format.

Traits§

AudioProcessor
Trait for implementing custom audio processing nodes.

Functions§

device_cfg_i2s
Build an ove_audio_device_cfg for I2S transport.
graph_add_node
Add a node to the graph. Returns the node index.
graph_add_processor
Register a custom processor node on the graph.
graph_build
Validate formats, resolve execution order, allocate buffers.
graph_connect
Connect two nodes. from feeds into to.
graph_deinit
Tear down the graph and release all resources.
graph_init
Initialize the audio graph.
graph_process
Process one cycle (app-driven mode).
graph_start
Start the graph (sink-driven mode).
graph_stop
Stop the graph.