CRI ADX  Last Updated: 2024-07-17 10:48 p
CriAtomExHcaVoicePoolConfigTag结构体 参考

Configuration structure used when creating a HCA Voice Pool 更多...

#include <cri_le_atom_ex.h>

成员变量

CriAtomExVoicePoolIdentifier identifier
 
CriSint32 num_voices
 
CriAtomHcaPlayerConfig player_config
 
CriBool is_streaming_only
 
CriSint32 min_channels
 

详细描述

Configuration structure used when creating a HCA Voice Pool

Description:
Structure used to configure an HCA Voice Pool.
Pass it as an argument to the criAtomExVoicePool_AllocateHcaVoicePool function.
The maximum number of voices you can pool is CRIATOMEX_MAX_VOICES_PER_POOL , and the minimum is CRIATOMEX_MIN_VOICES_PER_POOL .
注意
More members will be added in the future, so if you are not using the criAtomExVoicePool_SetDefaultConfigForHcaVoicePool macro, make sure to initialize the whole structure to zero before using it.
(Make sure that no member of the structure has an undefined value.)
参见
criAtomExVoicePool_AllocateHcaVoicePool, criAtomExVoicePool_SetDefaultConfigForHcaVoicePool

结构体成员变量说明

◆ identifier

Voice Pool ID

◆ num_voices

CriSint32 num_voices

Number of voices

◆ player_config

CriAtomHcaPlayerConfig player_config

Specifications of the voices

◆ is_streaming_only

CriBool is_streaming_only

Is it for streaming only

◆ min_channels

CriSint32 min_channels

Minimum number of channels


该结构体的文档由以下文件生成: