Problem using ISubmixBufferListener and OnNewSubmixBuffer Callback

Hi, I got the same problem that the buffer values always be 0.
“in my case” it turn out that I’m using the wrong AudioDevice.

change
AudioDevice = GEngine->GetMainAudioDevice().GetAudioDevice();

to
AudioDevice = GEngine->GetActiveAudioDevice().GetAudioDevice();