CRI ADX  Last Updated: 2025-05-07 13:34 p
Playback by specifying the playback start time (seek playback)

Sample directory

/cri/pc/samples/criatomex/seek_playback

Data used in the sample

/cri/common/smpdata/criatomex/
  • SampleAdxPack.awb

Sample description

You can use the criAtomExPlayer_SetStartTime function to specify the playback start time (seek position) for the player.
Specify the playback start time in milliseconds.


Once you set the playback start time, audio played on that player will start from the specified time.


criAtomExPlayer_SetStartTime(player, 10000); /* Set playback to start from 10 seconds */
criAtomExPlayer_Start(player); /* Start playback */
void criAtomExPlayer_SetStartTime(CriAtomExPlayerHn player, CriSint64 start_time_ms)
Specify the playback starting position.
CriAtomExPlaybackId criAtomExPlayer_Start(CriAtomExPlayerHn player)
Start the playback.
CriAtomExPlayerObj * CriAtomExPlayerHn
Player handle.
Definition: cri_le_atom_ex.h:3622