在 Audiokinetic 社区问答论坛上,用户可对 Wwise 和 Strata 相关问题进行提问和解答。如需从 Audiokinetic 技术支持团队获取答复,请务必使用技术支持申请单页面。

IAkSinkPlugin::Consume method not called on Android

+1 投票
I can register my custom IAkSinkPlugin implementation and add as output in my custom Android app (using C++ SDK). Plugin successfully initialized and the following methods of my plugin are called on Android except Consume:

Init
Reset
IsDataNeeded (I constantly set out_uBuffersNeeded to 4)
IsStarved
OnFrameEnd
IsStarved
OnFrameEnd
IsStarved
OnFrameEnd
IsStarved
OnFrameEnd
IsDataNeeded
IsDataNeeded
IsStarved
OnFrameEnd
...

I can hear the sound on the main output.

One thing I noticed that m_pSinkPluginContext->IsPrimary() returns false to my sink plugin and GetPluginInfo method never called. Is that an issue? How can I init my plugin on the primary tree?

I would like to encode the output to an mp4 video, that's why I need the output.
最新提问 2月 16, 2018 分类:General Discussion | 用户: attila n. (110 分)
Same behavior for my android app. I dont know it is a bug or I miss something.

Please advise.

Thank you,
Andras

Please sign-in or register to answer this question.

...