Audiokinetic's Community Q&A is the forum where users can ask and answer questions within the Wwise and Strata communities. If you would like to get an answer from Audiokinetic's Technical support team, make sure you use the Support Tickets page.

Can't use AudioInputPlugin in Unreal

+3 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. (130 points)
I get the same error code in Unity Wwise: Plug-in execution failure: 13107202

3 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.

AkAudioDevice.h

class AKAUDIO_API FAkAudioDevice

#ifdef AK_SOUNDFRAME

: public AK::SoundFrame::IClient

#endif

{

...

...

public:

void SetAudioInputCallbacksPlugin(AkAudioInputPluginExecuteCallbackFunc ExecuteAudioWwiseCallback, AkAudioInputPluginGetFormatCallbackFunc GetFormatWwiseCallback);

...

...

}

AkAudioDevice.cpp

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

 

TestActor.cpp

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.
0 votes
This error occurred for me downstream of a PostEvent() call to Play my Wwise Audio Input object. I was able to fix the problem by calling SetAudioInputCallback() with both an Execute callback AND a GetFormat callback.
answered Aug 24, 2020 by William F. (160 points)
...