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. If you would like to get an answer from Audiokinetic's Technical support team, make sure you use the Support Tickets page.

IAkSinkPlugin::Consume method not called on Android

+1 vote
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.
asked Feb 16, 2018 in General Discussion by attila n. (110 points)
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.

...