Developer Documentation
Our new developer documentation is now available. Please check it out!

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

NameTypeDescription
pipelineMediaPipelinewhere to create a vad effect
callbackAction<OdinCallbackAudioData,<T>>delegate reference for effect event
userData<T>custom userdata Marshal.StructureToPtr

Returns

TypeDescription
CustomEffectInstance of