Version

    Other Documentation

menu_open
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.

Remarks
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.
See also
Parameters
in_fileID Application-defined ID
in_uPriority Priority
in_uOldPriority Old priority

Was this page helpful?

Need Support?

Questions? Problems? Need more info? Contact us, and we can help!

Visit our Support page

Tell us about your project. We're here to help.

Register your project and we'll help you get started with no strings attached!

Get started with Wwise