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

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

#include <cri_le_atom_ex.h>

成员变量

CriAtomExVoicePoolIdentifier identifier
 
CriSint32 num_voices
 
CriAtomStandardPlayerConfig player_config
 
CriBool is_streaming_only
 
CriSint32 min_channels
 

详细描述

Configuration structure used when creating a standard Voice Pool

Description:
Structure used to configure a standard Voice Pool.
It is passed to the criAtomExVoicePool_AllocateStandardVoicePool 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_SetDefaultConfigForStandardVoicePool 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_AllocateStandardVoicePool, criAtomExVoicePool_SetDefaultConfigForStandardVoicePool

结构体成员变量说明

◆ identifier

Voice pool ID

◆ num_voices

CriSint32 num_voices

Number of voices

◆ 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


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