版本

menu_open
警告:系统已根据您所用大版本 (2019.2.15.7667) 自动跳转至最新文档。若想访问特定版本的文档,请从 Audiokinetic Launcher 下载离线文档,并在 Wwise 设计程序中勾选 Offline Documentation 选项。

◆ AkBatchIOCallback

typedef void( * AkBatchIOCallback) (AkUInt32 in_uNumTransfers, AkAsyncIOTransferInfo **in_ppTransferInfo, AKRESULT *in_peResult)

Callback function prototype definition used for asynchronous I/O transfers between the Stream Manager and the Low-Level IO. Used with batch deferred I/O hooks. Notes:

  • in_peResult and in_ppTransferInfo must both contain in_uNumTransfers number of elements
  • For each in_peResult with a value of AK_Fail, all streams awaiting for the corresponding transfer are marked as invalid and will stop. An "IO error" notification is posted to the capture log.
  • If a given transfer was cancelled by the Stream Manager while it was in the Low-Level IO, you must return AK_Success for that result, whether you performed the operation or not. The Stream Manager knows that it was cancelled, so it will not try to use it after you call it back.
  • Note that one call to BatchRead, BatchWrite or BatchCancel does not have to result in one execution of the callback. The only requirement is that each element of in_ppTransferInfo passed in only has the IOCallback fired on it one time.
    参见
  • AkAsyncIOTransferInfo
  • AK::StreamMgr::IAkIOHookDeferredBatch

在文件 AkStreamMgrModule.h142 行定义.


此页面对您是否有帮助?

需要技术支持?

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

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

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

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

开始 Wwise 之旅