Version

menu_open
Wwise SDK 2023.1.5

◆ Seek() [2/2]

AKSOUNDENGINE_API AKRESULT AK::SoundEngine::DynamicSequence::Seek ( AkPlayingID  in_playingID,
AkTimeMs  in_iPosition,
bool  in_bSeekToNearestMarker 
)

Seek inside specified Dynamic Sequence. It is only possible to seek in the first item of the sequence. If you seek past the duration of the first item, it will be skipped and an error will reported in the Capture Log and debug output. All the other items in the sequence will continue to play normally.

Returns
  • AK_Success if the command was successfully queued
  • AK_PlayingIDNotFound if the playing ID does not match to any open Dynamic Sequence
Parameters
in_playingIDAkPlayingID returned by DynamicSequence::Open
in_iPositionPosition into the the sound, in milliseconds
in_bSeekToNearestMarkerSnap to the marker nearest to the seek position.

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