Version

menu_open
Wwise SDK 2021.1.14

◆ Execute()

virtual void AK::IAkOutOfPlaceObjectPlugin::Execute ( const AkAudioObjects in_objects,
const AkAudioObjects out_objects 
)
pure virtual

Out-of-place object processor plug-in DSP execution.

Note: When running out-of-place, the effect must only update uValidFrames and eState fields of output objects. When the object processor sets an output object's eState field to AK_NoMoreData, the host will garbage collect them afterwards.
Warning: If an out-of-place object processor calls AK::IAkEffectPluginContext::CreateOutputObjects from within Execute, it must not access the output objects passed in out_objects, as the pointed objects may have moved elsewhere in memory. In that case it must use AK::IAkEffectPluginContext::GetOutputObjects. Arguments in_pObjectBuffersOut and in_pObjectsOut can only be safely used if the plugin creates objects during Init, either via AK::IAkEffectPluginContext::CreateOutputObjects, or by setting the channelConfig field of io_rFormat to a normal channel configuration (i.e. whose eConfigType is not AK_ChannelConfigType_Objects).
See also
AK::IAkEffectPlugin::Init.
Parameters
in_objects Input objects and object audio buffers.
out_objects Output objects and object audio buffers.

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