Callback function prototype definition used for asynchronous I/O transfers between the Stream Manager and the Low-Level IO. Notes:
- If you pass in_eResult of AK_Fail, all streams awaiting for this transfer are marked as invalid and will stop. An "IO error" notification is posted to the capture log.
- If the transfer was cancelled by the Stream Manager while it was in the Low-Level IO, you must return AK_Success, 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.
- 参见
- AkAsyncIOTransferInfo
- AK::StreamMgr::IAkLowLevelIOHook
在文件 AkStreamMgrModule.h 第 109 行定义.