28 #ifndef _AK_SOUNDENGINE_AKDYNAMICSEQUENCE_H
29 #define _AK_SOUNDENGINE_AKDYNAMICSEQUENCE_H
34 class AkExternalSourceArray;
42 namespace DynamicSequence
78 AkExternalSourceArray *pExternalSrcs;
86 :
public AkArray<PlaylistItem, const PlaylistItem&, ArrayPoolDefault, 4>
94 void * in_pCustomInfo =
NULL,
145 void* in_pCookie =
NULL,
158 AkTimeMs in_uTransitionDuration = 0,
166 AkTimeMs in_uTransitionDuration = 0,
173 AkTimeMs in_uTransitionDuration = 0,
182 AkTimeMs in_uTransitionDuration = 0,
203 void *& out_pCustomInfo
224 #endif // _AK_SOUNDENGINE_AKDYNAMICSEQUENCE_H
Playlist *__cdecl LockPlaylist(AkPlayingID in_playingID)
AkForceInline AKRESULT Enqueue(AkUniqueID in_audioNodeID, AkTimeMs in_msDelay=0, void *in_pCustomInfo=NULL, AkUInt32 in_cExternals=0, AkExternalSourceInfo *in_pExternalSources=NULL)
AkCurveInterpolation
Curve interpolation types
Normal transition mode, allows the entire playlist to be edited at all times.
AkPlayingID __cdecl Open(AkGameObjectID in_gameObjectID, AkUInt32 in_uFlags=0, AkCallbackFunc in_pfnCallback=NULL, void *in_pCookie=NULL, DynamicSequenceType in_eDynamicSequenceType=DynamicSequenceType_SampleAccurate)
AkTimeMs msDelay
Delay before playing this item, in milliseconds
AKRESULT __cdecl Close(AkPlayingID in_playingID)
AKRESULT
Standard function call result.
AKRESULT __cdecl Stop(AkPlayingID in_playingID, AkTimeMs in_uTransitionDuration=0, AkCurveInterpolation in_eFadeCurve=AkCurveInterpolation_Linear)
Specific implementation of array
#define AK_EXTERNAPIFUNC(__TYPE__, __NAME__)
#define AKASSERT(Condition)
AkUInt32 AkUniqueID
Unique 32-bit ID
bool operator==(const PlaylistItem &in_rCopy)
AKRESULT __cdecl Resume(AkPlayingID in_playingID, AkTimeMs in_uTransitionDuration=0, AkCurveInterpolation in_eFadeCurve=AkCurveInterpolation_Linear)
Resume specified Dynamic Sequence.
AkUInt64 AkGameObjectID
Game object ID
AkUniqueID audioNodeID
Unique ID of Audio Node
AKRESULT __cdecl UnlockPlaylist(AkPlayingID in_playingID)
AKRESULT __cdecl GetPauseTimes(AkPlayingID in_playingID, AkUInt32 &out_uTime, AkUInt32 &out_uDuration)
Get pause times.
AKRESULT SetExternalSources(AkUInt32 in_nExternalSrc, AkExternalSourceInfo *in_pExternalSrc)
AKRESULT __cdecl Pause(AkPlayingID in_playingID, AkTimeMs in_uTransitionDuration=0, AkCurveInterpolation in_eFadeCurve=AkCurveInterpolation_Linear)
AKRESULT __cdecl Play(AkPlayingID in_playingID, AkTimeMs in_uTransitionDuration=0, AkCurveInterpolation in_eFadeCurve=AkCurveInterpolation_Linear)
Play specified Dynamic Sequence.
AkExternalSourceArray * GetExternalSources()
Get the external source array. Internal use only.
AkUInt32 AkPlayingID
Playing ID
PlaylistItem & operator=(const PlaylistItem &in_rCopy)
void * pCustomInfo
Optional user data
void(* AkCallbackFunc)(AkCallbackType in_eType, AkCallbackInfo *in_pCallbackInfo)
AkInt32 AkTimeMs
Time in ms
AKRESULT __cdecl Break(AkPlayingID in_playingID)
Break specified Dynamic Sequence. The sequence will stop after the current item.
AKRESULT __cdecl GetPlayingItem(AkPlayingID in_playingID, AkUniqueID &out_audioNodeID, void *&out_pCustomInfo)