版本

menu_open
警告:系统已根据您所用大版本 (2018.1.11.6987) 自动跳转至最新文档。若想访问特定版本的文档,请从 Audiokinetic Launcher 下载离线文档,并在 Wwise 设计程序中勾选 Offline Documentation 选项。
Wwise SDK 2018.1.11
AK::StreamMgr::IAkIOHookDeferred类 参考abstract
类 AK::StreamMgr::IAkIOHookDeferred 继承关系图:
AK::StreamMgr::IAkLowLevelIOHook

Public 成员函数

virtual AKRESULT  Read (AkFileDesc &in_fileDesc, const AkIoHeuristics &in_heuristics, AkAsyncIOTransferInfo &io_transferInfo)=0
 
virtual AKRESULT  Write (AkFileDesc &in_fileDesc, const AkIoHeuristics &in_heuristics, AkAsyncIOTransferInfo &io_transferInfo)=0
 
virtual void  Cancel (AkFileDesc &in_fileDesc, AkAsyncIOTransferInfo &io_transferInfo, bool &io_bCancelAllTransfersForThisFile)=0
 
- Public 成员函数 继承自 AK::StreamMgr::IAkLowLevelIOHook
virtual AKRESULT  Close (AkFileDesc &in_fileDesc)=0
 
virtual AkUInt32  GetBlockSize (AkFileDesc &in_fileDesc)=0
 
virtual void  GetDeviceDesc (AkDeviceDesc &out_deviceDesc)=0
 
virtual AkUInt32  GetDeviceData ()=0
 

Protected 成员函数

virtual  ~IAkIOHookDeferred ()
  Virtual destructor on interface to avoid warnings. 更多...
 
- Protected 成员函数 继承自 AK::StreamMgr::IAkLowLevelIOHook
virtual  ~IAkLowLevelIOHook ()
  Virtual destructor on interface to avoid warnings. 更多...
 

详细描述

Interface for deferred low-level I/O transfers. Used by streaming devices created with the AK_SCHEDULER_DEFERRED_LINED_UP flag. This I/O transfer handshaking method is preferred when you want to hook I/O to your own I/O streaming technology. You will receive up to AkDeviceSettings::uMaxConcurrentIO requests at the same time. You may queue them into your own system, and even use the heuristics passed down to this level for your convenience. Note that the requests are always sent in the order that the Stream Manager considers to be the most appropriate. You may receive less than AkDeviceSettings::uMaxConcurrentIO at any given time. The number of concurrent transfers depends on the number of streams running in the high-level streaming device, and on its target buffering length and granularity. Your advantage at this level is to be aware of file placement, so you may try to re-order requests in order to minimize seeking on disk. Calls to Read()/Write() should return as soon as possible. You need to call AkAsyncIOTransferInfo::pCallback as soon as a transfer is completed. Cancel() is provided in order to inform you that the streaming device will flush this transfer upon completion. You may implement it or not. In all cases, you must call the callback.

在文件 AkStreamMgrModule.h290 行定义.


该类的文档由以下文件生成:

此页面对您是否有帮助?

需要技术支持?

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

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

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

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

开始 Wwise 之旅