版本

menu_open
virtual AKRESULT AK::IAkPluginContextBase::PostMonitorData ( void *  in_pData,
AkUInt32  in_uDataSize  
) [pure virtual]

Post a custom blob of data to the UI counterpart of this effect plug-in. Data is sent asynchronously through the profiling system. Notes:

  • It is only possible to post data when the instance of the plug-in is on a bus, because there is a one-to-one relationship with its effect settings view. You may call CanPostMonitorData() to determine if your plug-in can send data to the UI.
  • Data is copied into the communication buffer within this method, so you may discard it afterwards.
  • You need to handle byte swapping on one side or the other when sending data from a big-endian platform.
  • Sending data to the UI is only possible in Debug and Profile. Thus, you should enclose your calls to package and send that data within !AK_OPTIMIZED preprocessor flag.
    Returns:
    AK_Success if the plug-in exists on a bus, AK_Fail otherwise.
Parameters:
in_pData  Blob of data.
in_uDataSize  Size of data.

此页面对您是否有帮助?

需要技术支持?

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

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

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

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

开始 Wwise 之旅