AudiokineticのコミュニティQ&AはWwiseやStrataのコミュニティ内でユーザ同士が質問・回答をし合うことができるフォーラムです。Audiokineticテクニカルサポートチームからの回答をご希望の場合は、必ず サポートチケットページ をご利用ください。

Can't use AudioInputPlugin in Unreal

+3 支持
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.
Aaron W. (130 ポイント) 2017 5/3 質問 General Discussion
I get the same error code in Unity Wwise: Plug-in execution failure: 13107202

回答 3

0 支持
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 ?
Vincent F. (190 ポイント) 2017 7/3 回答
0 支持

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

Vincent F. (190 ポイント) 2017 8/25 回答
Vincent F. 2017 8/25 編集
0 支持
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.
William F. (160 ポイント) 2020 8/24 回答
...