Table of Contents

AkForceInline AKRESULT AK::SoundEngine::DynamicSequence::Playlist::Enqueue ( AkUniqueID  in_audioNodeID,
AkTimeMs  in_msDelay = 0,
void *  in_pCustomInfo = NULL,
AkUInt32  in_cExternals = 0,
AkExternalSourceInfo in_pExternalSources = NULL  
) [inline]

Enqueue an Audio Node.

Returns:
AK_Success if successful, AK_Fail otherwise
Parameters:
in_audioNodeID  Unique ID of Audio Node
in_msDelay  Delay before playing this item, in milliseconds
in_pCustomInfo  Optional user data
in_cExternals  Optional count of external source structures
in_pExternalSources  Optional array of external source resolution information

Definition at line 91 of file AkDynamicSequence.h.

References AkArray< PlaylistItem, const PlaylistItem &, ArrayPoolDefault, 4 >::AddLast(), AK_Fail, AK::SoundEngine::DynamicSequence::PlaylistItem::audioNodeID, AK::SoundEngine::DynamicSequence::PlaylistItem::msDelay, AK::SoundEngine::DynamicSequence::PlaylistItem::pCustomInfo, and AK::SoundEngine::DynamicSequence::PlaylistItem::SetExternalSources().