Version

menu_open
Wwise SDK 2023.1.2

◆ SetContainerHistory()

AKSOUNDENGINE_API AKRESULT AK::SoundEngine::SetContainerHistory ( AK::IReadBytes in_pBytes)

Restores the playback history of container structures. This function will read history data from the passed-in stream reader interface, and apply it to all currently loaded containers and instantiated game objects. Game objects are matched by ID. History for unloaded structures and unknown game objects will be skipped.

Remarks
This function acquires the main audio lock, and may block the caller for several milliseconds.
Returns
  • AK_Success if successful
  • AK_InsufficientMemory if not enough memory is available for IReadBytes operation
See also
Parameters
in_pBytesPointer to IReadBytes interface used to load the history.

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