Table des matières

Wwise SDK 2018.1.11

◆ RelocateMedia()

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

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 666 of file IAkPlugin.h.

References AK_NotImplemented.