CRI ADX  Last Updated: 2025-05-07 13:34 p
How do I play highly compressed audio data?
There is an audio codec called "<b>HCA</b>" that compresses audio to 1/6 to 1/12.
Just modify the function that creates the voice pool and specify the HCA data using the queue ID, file name, etc.
Specifically, it is as follows.


/* Create an ADX Voice Pool */
adx_pool = criAtomExVoicePool_AllocateAdxVoicePool(NULL, NULL, 0);
/* Create a HCA Voice Pool */
hca_pool = criAtomExVoicePool_AllocateHcaVoicePool(NULL, NULL, 0);
CriAtomExVoicePoolHn criAtomExVoicePool_AllocateAdxVoicePool(const CriAtomExAdxVoicePoolConfig *config, void *work, CriSint32 work_size)
Create an ADX Voice Pool.
CriAtomExVoicePoolHn criAtomExVoicePool_AllocateHcaVoicePool(const CriAtomExHcaVoicePoolConfig *config, void *work, CriSint32 work_size)
Create an HCA Voice Pool.


For more information, please refer to the sample program " \ref criatom_samples_simple_playback_hca ".


Return:Tips