ZL_Compressor_registerParameterizedGraph

Function ZL_Compressor_registerParameterizedGraph 

Source
pub unsafe extern "C" fn ZL_Compressor_registerParameterizedGraph(
    compressor: *mut ZL_Compressor,
    desc: *const ZL_ParameterizedGraphDesc,
) -> ZL_GraphID
Expand description

@brief Create a new GraphID by the one from @p gid, just replacing the @p localParams by the provided ones. Used to create custom variants of Standard Graphs for example.

@note the original @gid still exists and remains accessible. @note @localParams==NULL means “do not change the parameters”, in which case, this function simply returns @gid.

@return The GraphID of the newly created graph, or ZL_GRAPH_ILLEGAL on error.

@param gid The GraphID to clone. @param localParams The local parameters to use inside the graph.