CRI ADX  Last Updated: 2025-05-07 13:34 p
Getting ACB information

Sample directory

/cri/pc/samples/criatomex/acb_info

Data used in the sample

/cri/common/smpdata/criatomex/
  • SampleProject.acf
  • AtomCueSheet.acb
  • AtomCueSheet.awb

Sample description

ACB File To get "ACB information", use the CriAtomExAcb API function.
The code to get ACB information is shown below.
CriSint32 index = 0;
CriSint32 num_cues;
CriSint32 cue_id;
const CriChar8* cue_name;
const CriChar8* user_data;
/* Get the number of Cues */
num_cues = criAtomExAcb_GetNumCues(acb_hn);
/* Get Cue ID */
cue_id = criAtomExAcb_GetCueIdByIndex(acb_hn, index);
/* Get Cue name */
cue_name = criAtomExAcb_GetCueNameByIndex(acb_hn, index);
/* Get user data */
user_data = criAtomExAcb_GetUserDataById(acb_hn, cue_id);
CriAtomExCueId criAtomExAcb_GetCueIdByIndex(CriAtomExAcbHn acb_hn, CriAtomExCueIndex index)
Get the ID of a Cue from its index.
const CriChar8 * criAtomExAcb_GetCueNameByIndex(CriAtomExAcbHn acb_hn, CriAtomExCueIndex index)
Get the name of a Cue from its index.
CriSint32 criAtomExAcb_GetNumCues(CriAtomExAcbHn acb_hn)
Get the number of Cues in the ACB.
const CriChar8 * criAtomExAcb_GetUserDataById(CriAtomExAcbHn acb_hn, CriAtomExCueId id)
Get the user data string of a Cue from its ID.