Audiokinetic의 커뮤니티 Q&A는 사용자가 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 포인트) 로 부터
...