Community Q&A

Where Wwise users help each other out!

Audiokinetic's Community Q&A is the forum where Wwise users ask and answer questions within the Wwise community. Contact Sales if your project requires a support plan.

Can't use AudioInputPlugin in Unreal

+2 votes
I have a sound that's using the AudioInputPlugin as a source. Everything builds properly in Unreal, but when I'm running my project I see:

LogAkAudio:Error: Plug-in execution failure: 13107202

Does anyone know where this is coming from, or how to debug it? It seems to let me post my event and set my callbacks just fine, but then this error seems to print on my first cook of the scene.
asked May 3, 2017 in General Discussion by Aaron W. (120 points)
I get the same error code in Unity Wwise: Plug-in execution failure: 13107202

2 Answers

0 votes
We have the same error on our project. That's happen everytime we post event who use a audio input source. Does anyone have some clues about this error ?
answered Jul 3, 2017 by Vincent F. (190 points)
0 votes

I solved the problem, this error seems to occur when there is no audio input callbacks registered. But even when you call SetAudioInputCallbacks inside your gameplay code the same error occur...

To fix this you have to make a small hack in the wwise plugin source code.


class AKAUDIO_API FAkAudioDevice


: public AK::SoundFrame::IClient






void SetAudioInputCallbacksPlugin(AkAudioInputPluginExecuteCallbackFunc ExecuteAudioWwiseCallback, AkAudioInputPluginGetFormatCallbackFunc GetFormatWwiseCallback);





void FAkAudioDevice::SetAudioInputCallbacksPlugin(AkAudioInputPluginExecuteCallbackFunc ExecuteAudioWwiseCallback, AkAudioInputPluginGetFormatCallbackFunc GetFormatWwiseCallback)
SetAudioInputCallbacks(ExecuteAudioWwiseCallback, GetFormatWwiseCallback);



FAkAudioDevice* AudioDevice = FAkAudioDevice::Get();
AudioDevice->SetAudioInputCallbacksPlugin(ATestActor::ExecuteAudioWwiseCallback, ATestActor::GetFormatWwiseCallback);

I assume it's because you have to be inside the wwise plugin .dll memory space when you call "SetAudioInputCallbacks".

answered Aug 25, 2017 by Vincent F. (190 points)
edited Aug 25, 2017 by Vincent F.