Developer Documentation

MediaPipeline.AddCustomEffect

public CustomEffect<T> AddCustomEffect<T>(Action<OdinCallbackAudioData, T> callback, T userData)
    where T : struct

Insert a custom effect and sets the Media where T marks Serialize/Deserialize structures

Parameters

NameTypeDescription
callbackAction<OdinCallbackAudioData,<T>>effect callback
userData<T>effect callback userdata of type T

Returns

TypeDescription
CustomEffect<<T>>instance of base :