버전

menu_open

◆ 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.h 파일의 142 번째 라인에서 정의되었습니다.


이 페이지가 도움이 되었나요?

지원이 필요하신가요?

질문이 있으신가요? 문제를 겪고 계신가요? 더 많은 정보가 필요하신가요? 저희에게 문의해주시면 도와드리겠습니다!

지원 페이지를 방문해 주세요

작업하는 프로젝트에 대해 알려주세요. 언제든지 도와드릴 준비가 되어 있습니다.

프로젝트를 등록하세요. 아무런 조건이나 의무 사항 없이 빠른 시작을 도와드리겠습니다.

Wwise를 시작해 보세요