Our new developer documentation is now available. Please check it out!
CustomEffect<T>
Inherits from: PiplineEffect
public class CustomEffect<T> : PiplineEffect, IPiplineEffect where T : struct
Custom effect for Odin callbacks
Constructors
Name | Description |
---|---|
CustomEffect(OdinPipelineHandle, UInt32) | Internal effect constructor, use CustomEffect.Create{T}(MediaPipeline, Action{OdinCallbackAudioData, T}, T)" |
Static Methods
Name | Description |
---|---|
Create | Insert a custom effect in the specified pipline |
Serialize | Serialize structure to pointer for arbitary data T |
Deserialize | Deserializes a structure from a byte array |
Public Methods
Name | Description |
---|---|
SerializeUserdata | Serialize arbitary userdata |
DeserializeUserdata | Deserializes userdata from a byte array |
Inherited Properties
Name | Description |
---|---|
Id | Effect id |
Index | Effect index |
Parent | Pipeline handle |
Inherited Methods
Name | Description |
---|---|
GetEffectIndex | Get native effect index |
GetEffectType | Get native effect NativeBindings |
GetVadConfig | Get native voice activity config |
SetApmConfig | Set native audio processing config |
SetApmStreamDelay | Set native audio processing delay |
SetVadConfig | Set native voice activity config |
UpdateApmPlayback | Send samples for native audio processing |