I need to capture the raw sound output that Wwise sends to the speakers to memory. I am using Wwise in Unity. I am aware that there is a function
AkSoundEngine.StartOutputCapture(filename)
Which captures the sound to a wave file, but I need to capture the raw audio in real-time as either a floating point array or 24-bit PCM array (either is fine).
This needs to be done in real time and in C# as I am using Unity. This means creating a C++ audio plugin is not an option.
Any help whatsoever will be appreciated. I've search the SDK and can't find anything.
Best Regards and thanks in anticipation for any help.