版本

menu_open
Wwise SDK 2023.1.3

◆ UnpinFileInCache()

virtual AKRESULT AK::IAkStreamMgr::UnpinFileInCache ( AkFileID  in_fileID,
AkPriority  in_uPriority 
)
pure virtual

Un-pin a file that has been previouly pinned into cache. This function must be called once for every call to PinFileInCache() with the same file id. The file may still remain in stream cache after this is called, until the memory is reused by the streaming memory manager in accordance with to its cache management algorithm.

备注
PinFileInCache()/UnpinFileInCache()/UpdateCachingPriority() are typically not used directly, but instead used via the AK::SoundEngine::PinEventInStreamCache() API. Using UnpinFileInCache() directly does not allow users to take advantage of sound bank data. The file must be explicitly specified.
参见
参数
in_fileIDApplication-defined ID
in_uPriorityPriority of stream that you are unpinning

此页面对您是否有帮助?

需要技术支持?

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

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

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

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

开始 Wwise 之旅