/* For a cue for loop playback, CriAtomEx.CueInfo.length is -1. */
bool isLoop = (cueInfo.length == -1);
...
}
Attention
Please note that CriAtomEx.CueInfo.length has several restrictions.
Basically, the value can be obtained for a simple Cue whose pitch parameter has not been changed in Atom Craft.
For a Cue using random parameters or a Cue whose length cannot be determined when creating sound data such as loop sound, the correct value cannot be obtained.
The vaule is -1 for loop sound.
I want to receive a callback at a specific position during movie playback at Sofdec
If the movie was created by specifying cue point information during Sofdec encoding,
you can receive a callback at a specific position during movie playback.
Cue point information file
For a cue point information file and how to specify it at encoding,
see the following sections in "Sofdec Tools" User Manual
(/CRIWARE/Tools/Sofdec2/CRI_Sofdec2_Tools_Manual_e.chm)
provided with the SDK.
Sofdec2 Encoding Wizard > Basic operation of data creation > Input files > Cue point information file
Sofdec2 Encoding Wizard > User interface > Wizard > Page: Specifying input video material