版本

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

◆ UpdateCachingPriority()

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

Update the priority of the caching stream. Higher priority streams will be serviced before lower priority caching streams, and will be more likely to stay in memory if the cache pin limit as set by "uMaxCachePinnedBytes" is reached.

备注
PinFileInCache()/UnpinFileInCache()/UpdateCachingPriority() are typically not used directly, but instead used via the AK::SoundEngine::PinEventInStreamCache() API. Using UpdateCachingPriority() directly does not allow users to take advantage of sound bank data. The file must be explicitly specified.
参见
参数
in_fileID Application-defined ID
in_uPriority Priority
in_uOldPriority Old priority

此页面对您是否有帮助?

需要技术支持?

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

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

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

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

开始 Wwise 之旅