Wwise SDK 2025.1.2
|
#include <AkCommandTypes.h>
Public Attributes | |
AkUniqueID | eventID |
ID of event. Stream caching state will be updated for all streaming files referenced by this event. More... | |
AkUInt8 | isCached |
Activate or de-activate stream caching. When false, any cache buffers previously associated with the event are released. More... | |
AkPriority | activePriority |
Priority of active stream caching I/O. More... | |
AkPriority | inactivePriority |
Priority of inactive stream caching I/O. More... | |
Allows streaming the first part of all streamed files referenced by an Event into a cache buffer.
Caching streams are serviced when no other streams require the available bandwidth. The files will remain cached until a command disables caching, or a higher priority pinned file needs the space and the limit set by uMaxCachePinnedBytes
is exceeded.
AK::StreamMgr::IAkLowLevelIOHook::BatchOpen()
and AkFileSystemFlags
. inactivePriority
is only relevant for events that reference switch containers that are assigned to State Groups. This parameter is ignored for all other events, including events that only reference switch containers that are assigned to Switch Groups. Files that are chosen based on a Switch Group have a different switch value per game object, and are all effectively considered active by the pin-to-cache system.This command can fail for the following reasons:
AK_InvalidParameter
if eventID
is invalidAK_IDNotFound
if eventID
refers to an unknown eventDefinition at line 1249 of file AkCommandTypes.h.
Questions? Problems? Need more info? Contact us, and we can help!
Visit our Support pageRegister your project and we'll help you get started with no strings attached!
Get started with Wwise