Version
menu

Wwise SDK 2025.1.0
AkCmd_DynamicSequence_Open Struct Reference

#include <AkCommandTypes.h>

Public Attributes

AkPlayingID playingID
 Unique ID that will be associated with this playback. Use AK_SoundEngine_GeneratePlayingID() to generate a new unique playing ID. More...
 
AkGameObjectID gameObjectID
 (optional) Associated game object ID More...
 
AkDynamicSequenceType_t type
 Type: see AkDynamicSequenceType. More...
 
AkUInt32 flags
 Bitmask: see AkCallbackType. More...
 
AkEventCallbackFunc callback
 Callback function. More...
 
void * callbackCookie
 Callback cookie. More...
 

Detailed Description

Open a new Dynamic Sequence.

If AK_DynamicSequenceSelect bit is set in flags, the dynamic sequence uses the callback for determining the next item to play. If this bit is not set, then the dynamic sequence uses the Playlist to determine the next item to play (C++-only API).

This command can fail for the following reasons:

  • AK_InvalidParameter: playingID is an invalid ID or type is not a valid dynamic sequence type.
  • AK_InsufficientMemory: Not enough memory to process the command.
  • AK_IDNotFound: gameObjectID was specified but is not registered.
  • AK_ResourceInUse: playingID was already used for a previous entry.
See also

Definition at line 777 of file AkCommandTypes.h.


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