CustomEffect<T>.Create
public static CustomEffect<T> Create(MediaPipeline pipeline, Action<OdinCallbackAudioData, T> callback, T userData)
Insert a custom effect in the specified pipline
Parameters
Name | Type | Description |
---|---|---|
pipeline | MediaPipeline | where to create a vad effect |
callback | Action<OdinCallbackAudioData,<T>> | delegate reference for effect event |
userData | <T> | custom userdata Marshal.StructureToPtr |
Returns
Type | Description |
---|---|
CustomEffect | Instance of |