Wwise SDK 2023.1.5

◆ RelocateMedia()

virtual AKRESULT AK::IAkPlugin::RelocateMedia ( AkUInt8 ,

Some plug-ins are accessing Media from the Wwise sound bank system. If the IAkPlugin object is not using media, this function will not be used. If the IAkPlugin object is using media, the RelocateMedia feature can be optionally implemented. When this function is being called, the IAkPlugin object must make the required changes to remove all referenced from the old memory pointer (previously obtained by GetPluginMedia() (and offsets to) to not access anymore the content of the old memory data and start using the newly provided pointer instead. The change must be done within the function RelocateMedia(). After this call, the memory space in in_pOldInMemoryData will be invalidated and cannot be used safely anymore.

This function will not be called if SupportMediaRelocation returned false.

See also

Definition at line 747 of file IAkPlugin.h.

References AK_NotImplemented.

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