Version
menu

Wwise SDK 2025.1.1
AkDynamicSequenceSelectCallbackInfo Struct Reference

#include <AkCallbackTypes.h>

Public Attributes

AkUniqueID audioNodeID
 Unique ID of Audio Node (can be resolved using AK::SoundEngine::DynamicDialogue API). Set to AK_INVALID_UNIQUE_ID to signal that no item is available to play. More...
 
AkTimeMs msDelay
 Delay before playing this item, in milliseconds. More...
 
void * pCustomInfo
 Optional user data. More...
 
AkExternalSourceArray arExternalSources
 Optional external sources. Use API described in AkExternalSourceArray.h to add required external sources to play the next item. More...
 

Detailed Description

Callback information structure corresponding to AK_DynamicSequenceSelect. Called when a dynamic sequence must select its next item to play. The callee is expected to fill out the information contained in this structure. If there is no item available to play, the callee must set audioNodeID to AK_INVALID_UNIQUE_ID. This will cause the dynamic sequence to stop. Use AK::SoundEngine::DynamicSequence::Play to start playback again.

Warning: When opening a dynamic sequence with the callback flag AK_DynamicSequenceSelect, the callback is the ONLY way to determine the next item to play. AK::SoundEngine::DynamicSequence::LockPlaylist always returns NULL for dynamic sequences opened with AK_DynamicSequenceSelect.
See also

Definition at line 327 of file AkCallbackTypes.h.


Cette page a-t-elle été utile ?

Besoin d'aide ?

Des questions ? Des problèmes ? Besoin de plus d'informations ? Contactez-nous, nous pouvons vous aider !

Visitez notre page d'Aide

Décrivez-nous de votre projet. Nous sommes là pour vous aider.

Enregistrez votre projet et nous vous aiderons à démarrer sans aucune obligation !

Partir du bon pied avec Wwise