Samples Directory
/CRIWARE/SDK/pc/samples/criatomex/category
Sample Description
- Before controlling playback by category , you must set category to each Cue in CRI Atom Craft.
Use CriAtomExCategory API to control playback by category.
- Controlling by category applies to all sounds belonging to the category regardless of in which players the sounds were played.
The following is a code to control by category.
:
void criAtomExCategory_SoloByName(const CriChar8 *name, CriBool solo, CriFloat32 mute_volume)
Solo / unsolo a category specified by its name.
CriAtomExPlaybackId criAtomExPlayer_Start(CriAtomExPlayerHn player)
Start the playback.
void criAtomExPlayer_SetCueId(CriAtomExPlayerHn player, CriAtomExAcbHn acb_hn, CriAtomExCueId id)
Set the sound data to play (specifying a Cue ID)