Table of Contents

Wwise SDK 2018.1.11

◆ IsDataNeeded()

virtual AKRESULT AK::IAkSinkPlugin::IsDataNeeded ( AkUInt32 out_uNumFramesNeeded )
pure virtual

Obtain the number of audio frames that should be processed by the sound engine and presented to this plugin via AK::IAkSinkPlugin::Consume(). The size of a frame is determined by the sound engine and obtainable via AK::IAkPluginContextBase::GetMaxBufferLength().

AK_Success if successful, AK_Fail if there was a critical error.
See also
out_uNumFramesNeeded Returned number of audio frames needed.