版本

menu_open
virtual AKRESULT AK::IAkStreamMgr::PinFileInCache ( AkFileID  in_fileID,
AkFileSystemFlags in_pFSFlags,
AkPriority  in_uPriority  
) [pure virtual]

Start streaming the first "in_pFSFlags->uNumBytesPrefetch" bytes of the file with id "in_fileID" into cache. The stream will be scheduled only after all regular streams (not file caching streams) are serviced. The file will stay cached until either the UnpinFileInCache is called, or the limit as set by uMaxCachePinnedBytes is reached and another higher priority file (in_uPriority) needs the space.

See also:
Parameters:
in_fileID  Application-defined ID
in_pFSFlags  Special file system flags (can NOT pass NULL)
in_uPriority  Stream caching priority. Note: Caching requests only get serviced after all regular streaming requests.

此页面对您是否有帮助?

需要技术支持?

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

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

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

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

开始 Wwise 之旅