odin_pipeline_insert_custom_effect
Overview
Inserts a user-defined custom effect at the specified index in the audio pipeline. The effect is implemented via a callback function and associated user data. A unique effect identifier is returned.
Parameters
| Name | Type | Description |
|---|---|---|
pipeline | const struct OdinPipeline * | The pipeline handle. |
index | uint32_t | The index at which to insert the effect. |
callback | OdinCustomEffectCallback | The callback function for the effect. |
user_data | const void * | User data passed to the callback. |
out_effect_id | uint32_t * | Pointer to receive the new effect ID. |
Return Value
| Type | Description |
|---|---|
OdinError | ODIN_ERROR_SUCCESS on success. |