Table of Contents

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().

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