Skip to main content
Version: 2.x

Delegate NativeLibraryMethods.OdinCustomEffectCallbackDelegate

Defines the signature for custom effect callbacks in an ODIN audio pipeline. The callback receives a pointer to a buffer of audio samples, the number of samples in the buffer, a pointer to a flag indicating whether the audio is silent. This allows for custom, in-place processing of an audio stream.

Declaration
public delegate void NativeLibraryMethods.OdinCustomEffectCallbackDelegate(nint samples, uint samples_count, ref bool is_silent, nint user_data)