graph_add_node

Function graph_add_node 

Source
pub fn graph_add_node(
    graph: &mut ove_audio_graph,
    ops: &ove_audio_node_ops,
    ctx: *mut c_void,
    name: &CStr,
    node_type: ove_audio_node_type,
) -> Result<i32, Error>
Expand description

Add a node to the graph. Returns the node index.

ยงErrors

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