Version

menu_open
Warning: you were redirected to the latest documentation corresponding to your major release ( 2022.1.17.8543 ). Should you wish to access your specific version's documentation, please download the offline documentation from the Audiokinetic Launcher and check the Offline Documentation option in Wwise Authoring.
Wwise SDK 2022.1.17

◆ 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