From 886948479b2af35cf3ea3c73f4d91ab9933ea1f8 Mon Sep 17 00:00:00 2001 From: ChrisDill Date: Sun, 19 Mar 2023 15:06:31 +0000 Subject: [PATCH] Add mixed processor callbacks --- Raylib-cs/interop/Raylib.cs | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Raylib-cs/interop/Raylib.cs b/Raylib-cs/interop/Raylib.cs index b371b66..1b7f613 100644 --- a/Raylib-cs/interop/Raylib.cs +++ b/Raylib-cs/interop/Raylib.cs @@ -2273,5 +2273,13 @@ namespace Raylib_cs /// Detach audio stream processor from stream [DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)] public static extern void DetachAudioStreamProcessor(AudioStream stream, delegate* unmanaged[Cdecl] processor); + + /// Attach audio stream processor to the entire audio pipeline + [DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)] + public static extern void AttachAudioMixedProcessor(delegate* unmanaged[Cdecl] processor); + + /// Detach audio stream processor from the entire audio pipeline + [DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)] + public static extern void DetachAudioMixedProcessor(delegate* unmanaged[Cdecl] processor); } }