版本

menu_open
Wwise SDK 2018.1.11

◆ SignalAudioThread()

virtual AKRESULT AK::IAkSinkPluginContext::SignalAudioThread ( )
pure virtual

Sink plugins may need to call this function to notify the audio thread that it should wake up in order to potentially process an audio frame. Note that the audio thread may wake up for other reasons, for example following calls to AK::SoundEngine::RenderAudio(). Once the audio thread is awaken, it will ask the sink plugin how many audio frames need to be processed and presented to the plugin. This is done through AK::IAkSinkPlugin::IsDataNeeded() and AK::IAkSinkPlugin::Consume() respectively. Note that only the sink plugin that is instantiated on the main output device (primary tree) may control the audio thread synchronization.

返回
AK_Success if the calling plugin is instantiated on the main output device (primary tree), AK_Fail otherwise.
参见

此页面对您是否有帮助?

需要技术支持?

仍有疑问?或者问题?需要更多信息?欢迎联系我们,我们可以提供帮助!

查看我们的“技术支持”页面

介绍一下自己的项目。我们会竭力为您提供帮助。

来注册自己的项目,我们帮您快速入门,不带任何附加条件!

开始 Wwise 之旅