CRI ADX
Last Updated: 2025-05-07 13:34 p
日本語
English
中文
Simple playback of HCA data
Sample directory
/cri/pc/samples/criatomex/simple_playback_hca
Data used in the sample
/cri/common/smpdata/criatomex/
SampleProject.acf
AtomCueSheet.acb
AtomCueSheet.awb
Sample Description
Before playing back HCA data, you must create an HCA Voice Pool.
You can use the
criAtomExVoicePool_AllocateHcaVoicePool
function to create an HCA Voice Pool.
CriAtomExVoicePoolHn
voice_pool;
voice_pool =
criAtomExVoicePool_AllocateHcaVoicePool
(NULL, NULL, 0);
CriAtomExVoicePoolHn
struct CriAtomExVoicePoolTag * CriAtomExVoicePoolHn
Voice Pool handle.
Definition:
cri_le_atom_ex.h:3220
criAtomExVoicePool_AllocateHcaVoicePool
CriAtomExVoicePoolHn criAtomExVoicePool_AllocateHcaVoicePool(const CriAtomExHcaVoicePoolConfig *config, void *work, CriSint32 work_size)
Create an HCA Voice Pool.
Created Voice Pool is registered to the system and Voice is automatically assigned when playing back a Cue.
Attention
When playing back HCA data other than Cue (when setting data using the
criAtomExPlayer_SetData
,
criAtomExPlayer_SetFile
, or
criAtomExPlayer_SetWaveId
function), in addition to the above steps, format must be specified using the
criAtomExPlayer_SetFormat
function.
Copyright (c) CRI Middleware Co., Ltd. 1.9.1