版本

menu_open
Wwise SDK 2022.1.12

◆ RegisterOutputDeviceMeteringCallback()

AKSOUNDENGINE_API AKRESULT AK::SoundEngine::RegisterOutputDeviceMeteringCallback ( AkOutputDeviceID  in_idOutput,
AkOutputDeviceMeteringCallbackFunc  in_pfnCallback,
AkMeteringFlags  in_eMeteringFlags,
void *  in_pCookie = NULL 
)

Registers a callback to be called to allow the game to access metering data from any output device. You may use this to monitor loudness as sound leaves the Wwise sound engine by accessing the peak, RMS, True Peak and K-weighted power (according to loudness standard ITU BS.1770). See 使用 Speaker Matrix Callback 定制高级混音 for an example. The callback must be registered once per device shareset ID. Call with in_pfnCallback = NULL to unregister.

参见
返回
  • AK_Success if successful
  • AK_DeviceNotFound if the device is not found
  • AK_NotInitialized if the sound engine is not initialized
  • AK_InsufficientMemory if there is not enough memory to complete the operation
参数
in_idOutputOutput ID, as returned from AddOutput or GetOutputID. You can pass 0 for the main (default) output
in_pfnCallbackCallback function.
in_eMeteringFlagsMetering flags.
in_pCookieUser cookie.

此页面对您是否有帮助?

需要技术支持?

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

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

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

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

开始 Wwise 之旅