Registers 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 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 bus ID. Call with in_pfnCallback = NULL to unregister.
| 备注: The bus in_busID needs to be a mixing bus. |
- 参见
-
- 返回
AK_Success
if successful
AK_IDNotFound
if the bus 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_busID | Bus ID, as obtained by GetIDFromString( bus_name ). |
in_pfnCallback | Callback function. |
in_eMeteringFlags | Metering flags. |
in_pCookie | User cookie. |