Community Q&A

Welcome to Audiokinetic’s community-driven Q&A forum. This is the place where Wwise and Strata users help each other out. For direct help from our team, please use the Support Tickets page. To report a bug, use the Bug Report option in the Audiokinetic Launcher. (Note that Bug Reports submitted to the Q&A forum will be rejected. Using our dedicated Bug Report system ensures your report is seen by the right people and has the best chance of being fixed.)

To get the best answers quickly, follow these tips when posting a question:

  • Be Specific: What are you trying to achieve, or what specific issue are you running into?
  • Include Key Details: Include details like your Wwise and game engine versions, operating system, etc.
  • Explain What You've Tried: Let others know what troubleshooting steps you've already taken.
  • Focus on the Facts: Describe the technical facts of your issue. Focusing on the problem helps others find a solution quickly.

0 votes
Hi, I register my sink plugin using this code;

    AkInitSettings initSettings;
    AkPlatformInitSettings platformInitSettings;
    AK::SoundEngine::GetDefaultInitSettings( initSettings );
    AK::SoundEngine::GetDefaultPlatformInitSettings( platformInitSettings );

    initSettings.uNumSamplesPerFrame = 256;
    initSettings.settingsMainOutput.pfSinkPluginFactory = CreateMySink;

 

    if ( AK::SoundEngine::Init( &initSettings, &platformInitSettings ) != AK_Success )
    {
        return false;
    }

 

"CreateMySink" runs normally, no errors... moments later when I try to load banks the audio engine sits there and can never load a single bank (except for init.bnk).  Is there an extra step I have to take to make my sink plugin work with the banks?  thanks.  I have to mention that when I remove "initSettings.settingsMainOutput.pfSinkPluginFactory = CreateMySink;" everything runs fine.  

 

thanks!
in General Discussion by Rafael S. (260 points)

1 Answer

0 votes
Within your plugin, make sure you call the function m_pSinkPluginContext->SignalAudioThread().  For an example look at the AkSink sample project where they make use of this call.
by Rafael S. (260 points)
...