目次

AKRESULT __cdecl AK::SoundEngine::RegisterBusMeteringCallback ( AkUniqueID  in_busID,
AkBusMeteringCallbackFunc  in_pfnCallback,
AkMeteringFlags  in_eMeteringFlags  
)

Register a callback to be called to allow the game to access metering data from any mixing bus. You may use this to monitor loudness at any point of the mixing hierarchy by querying 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 bus ID. Call with in_pfnCallback = NULL to unregister.

Note.gif
Note: The bus in_busID needs to be a mixing bus.
参照:
戻り値:
  • AK_Success if successful
引数:
in_busID  Bus ID, as obtained by GetIDFromString( bus_name ).
in_pfnCallback  Callback function.
in_eMeteringFlags  Metering flags.