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

0 投票
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!
分类:General Discussion | 用户: Rafael S. (260 分)

1个回答

0 投票
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.
用户: Rafael S. (260 分)
...