CRI ADX  Last Updated: 2024-07-17 10:47 p
Acquiring ACB Information

Samples Directory

/CRIWARE/SDK/pc/samples/criatomex/acb_info


Sample Description

Use function in CriAtomExAcb API to get ACB information .

The following is a code to get ACB information.

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.