Version

    Other Documentation

menu_open
Wwise SDK 2019.1.11

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

Remarks
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.
See also
Parameters
in_fileID Application-defined ID
in_uPriority Priority of stream that you are unpinning

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