Version

menu_open
Wwise SDK 2023.1.2

◆ 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_fileIDApplication-defined ID
in_uPriorityPriority
in_uOldPriorityOld priority

Cette page a-t-elle été utile ?

Besoin d'aide ?

Des questions ? Des problèmes ? Besoin de plus d'informations ? Contactez-nous, nous pouvons vous aider !

Visitez notre page d'Aide

Décrivez-nous de votre projet. Nous sommes là pour vous aider.

Enregistrez votre projet et nous vous aiderons à démarrer sans aucune obligation !

Partir du bon pied avec Wwise