graph_add_processor

Function graph_add_processor 

Source
pub fn graph_add_processor<T: AudioProcessor>(
    graph: &mut ove_audio_graph,
    processor: &'static mut T,
    name: &[u8],
) -> Result<i32, Error>
Expand description

Register a custom processor node on the graph.

The processor must live in a &'static mut location (e.g. a StaticCell or static mut). All FFI trampolines are generated internally — no unsafe or extern "C" needed in application code.

§Errors

Returns an error if the graph is full or not in IDLE state.