CRI ADX
Last Updated: 2024-07-17 10:48 p
|
结构体 | |
struct | CriAtomExStandardVoicePoolConfigTag |
Configuration structure used when creating a standard Voice Pool 更多... | |
struct | CriAtomExAdxVoicePoolConfigTag |
Configuration structure used when creating an ADX Voice Pool 更多... | |
struct | CriAtomExHcaVoicePoolConfigTag |
Configuration structure used when creating a HCA Voice Pool 更多... | |
struct | CriAtomExHcaMxVoicePoolConfigTag |
Configuration structure used when creating a HCA-MX Voice Pool 更多... | |
struct | CriAtomExWaveVoicePoolConfigTag |
Configuration structure used when creating a Wave Voice Pool 更多... | |
struct | CriAtomExAiffVoicePoolConfigTag |
Configuration structure used when creating an AIFF Voice Pool 更多... | |
struct | CriAtomExRawPcmVoicePoolConfigTag |
Configuration structure used when creating a raw PCM Voice Pool 更多... | |
struct | CriAtomExInstrumentVoicePoolConfigTag |
Configuration structure used when creating an Instrument Voice Pool 更多... | |
宏定义 | |
#define | CRIATOMEX_DEFAULT_VOICES_PER_POOL (8) |
Default number of voices 更多... | |
#define | CRIATOMEX_MIN_VOICES_PER_POOL (1) |
Minimum Voices 更多... | |
#define | CRIATOMEX_MAX_VOICES_PER_POOL (32767) |
Maximum Voices 更多... | |
#define | criAtomExVoicePool_SetDefaultConfigForStandardVoicePool(p_config) |
Assign the default values to the configuration structure used to create a standard Voice Pool 更多... | |
#define | criAtomExVoicePool_SetDefaultConfigForAdxVoicePool(p_config) |
Assign the default values to the configuration structure used to create an ADX Voice Pool 更多... | |
#define | criAtomExVoicePool_SetDefaultConfigForHcaVoicePool(p_config) |
Assign the default values to the configuration structure used to create an HCA Voice Pool 更多... | |
#define | criAtomExVoicePool_SetDefaultConfigForHcaMxVoicePool(p_config) |
Assign the default values to the configuration structure used to create a HCA-MX Voice Pool 更多... | |
#define | criAtomExVoicePool_SetDefaultConfigForWaveVoicePool(p_config) |
Assign the default values to the configuration structure used to create a Wave Voice Pool 更多... | |
#define | criAtomExVoicePool_SetDefaultConfigForAiffVoicePool(p_config) |
Assign the default values to the configuration structure used to create an AIFF Voice Pool 更多... | |
#define | criAtomExVoicePool_SetDefaultConfigForRawPcmVoicePool(p_config) |
Assign the default values to the configuration structure used to create a raw PCM Voice Pool 更多... | |
#define | criAtomExVoicePool_SetDefaultConfigForInstrumentVoicePool(p_config) |
Assign the default values to the configuration structure used to create an Instrument Voice Pool 更多... | |
类型定义 | |
typedef struct CriAtomExVoicePoolTag * | CriAtomExVoicePoolHn |
Voice Pool handle 更多... | |
typedef CriUint32 | CriAtomExVoicePoolIdentifier |
Voice Pool identifier 更多... | |
typedef struct CriAtomExStandardVoicePoolConfigTag | CriAtomExStandardVoicePoolConfig |
Configuration structure used when creating a standard Voice Pool 更多... | |
typedef struct CriAtomExAdxVoicePoolConfigTag | CriAtomExAdxVoicePoolConfig |
Configuration structure used when creating an ADX Voice Pool 更多... | |
typedef struct CriAtomExHcaVoicePoolConfigTag | CriAtomExHcaVoicePoolConfig |
Configuration structure used when creating a HCA Voice Pool 更多... | |
typedef struct CriAtomExHcaMxVoicePoolConfigTag | CriAtomExHcaMxVoicePoolConfig |
Configuration structure used when creating a HCA-MX Voice Pool 更多... | |
typedef struct CriAtomExWaveVoicePoolConfigTag | CriAtomExWaveVoicePoolConfig |
Configuration structure used when creating a Wave Voice Pool 更多... | |
typedef struct CriAtomExAiffVoicePoolConfigTag | CriAtomExAiffVoicePoolConfig |
Configuration structure used when creating an AIFF Voice Pool 更多... | |
typedef struct CriAtomExRawPcmVoicePoolConfigTag | CriAtomExRawPcmVoicePoolConfig |
Configuration structure used when creating a raw PCM Voice Pool 更多... | |
typedef struct CriAtomExInstrumentVoicePoolConfigTag | CriAtomExInstrumentVoicePoolConfig |
Configuration structure used when creating an Instrument Voice Pool 更多... | |
typedef void(* | CriAtomExVoicePoolCbFunc) (void *obj, CriAtomExVoicePoolHn pool) |
Voice pool callback function type 更多... | |
#define CRIATOMEX_DEFAULT_VOICES_PER_POOL (8) |
Default number of voices
#define CRIATOMEX_MIN_VOICES_PER_POOL (1) |
Minimum Voices
#define CRIATOMEX_MAX_VOICES_PER_POOL (32767) |
Maximum Voices
#define criAtomExVoicePool_SetDefaultConfigForStandardVoicePool | ( | p_config | ) |
Assign the default values to the configuration structure used to create a standard Voice Pool
[out] | p_config | pointer to the configuration structure used for the creation of a standard Voice Pool |
#define criAtomExVoicePool_SetDefaultConfigForAdxVoicePool | ( | p_config | ) |
Assign the default values to the configuration structure used to create an ADX Voice Pool
[out] | p_config | pointer to the configuration structure used for the creation of an ADX Voice Pool |
#define criAtomExVoicePool_SetDefaultConfigForHcaVoicePool | ( | p_config | ) |
Assign the default values to the configuration structure used to create an HCA Voice Pool
[out] | p_config | pointer to the configuration structure used for the creation of an HCA Voice Pool |
#define criAtomExVoicePool_SetDefaultConfigForHcaMxVoicePool | ( | p_config | ) |
Assign the default values to the configuration structure used to create a HCA-MX Voice Pool
[out] | p_config | pointer to the configuration structure used for the creation of a HCA-MX Voice Pool |
#define criAtomExVoicePool_SetDefaultConfigForWaveVoicePool | ( | p_config | ) |
Assign the default values to the configuration structure used to create a Wave Voice Pool
[out] | p_config | pointer to the configuration structure used for the creation of a Wave Voice Pool |
#define criAtomExVoicePool_SetDefaultConfigForAiffVoicePool | ( | p_config | ) |
Assign the default values to the configuration structure used to create an AIFF Voice Pool
[out] | p_config | pointer to the configuration structure used for the creation of an AIFF Voice Pool |
#define criAtomExVoicePool_SetDefaultConfigForRawPcmVoicePool | ( | p_config | ) |
Assign the default values to the configuration structure used to create a raw PCM Voice Pool
[out] | p_config | pointer to the configuration structure used for the creation of a raw PCM Voice Pool |
#define criAtomExVoicePool_SetDefaultConfigForInstrumentVoicePool | ( | p_config | ) |
Assign the default values to the configuration structure used to create an Instrument Voice Pool
[out] | p_config | pointer to the configuration structure used for the creation of an Instrument Voice Pool |
typedef struct CriAtomExVoicePoolTag* CriAtomExVoicePoolHn |
Voice Pool handle
typedef CriUint32 CriAtomExVoicePoolIdentifier |
Voice Pool identifier
Configuration structure used when creating a standard Voice Pool
typedef struct CriAtomExAdxVoicePoolConfigTag CriAtomExAdxVoicePoolConfig |
Configuration structure used when creating an ADX Voice Pool
typedef struct CriAtomExHcaVoicePoolConfigTag CriAtomExHcaVoicePoolConfig |
Configuration structure used when creating a HCA Voice Pool
typedef struct CriAtomExHcaMxVoicePoolConfigTag CriAtomExHcaMxVoicePoolConfig |
Configuration structure used when creating a HCA-MX Voice Pool
typedef struct CriAtomExWaveVoicePoolConfigTag CriAtomExWaveVoicePoolConfig |
Configuration structure used when creating a Wave Voice Pool
typedef struct CriAtomExAiffVoicePoolConfigTag CriAtomExAiffVoicePoolConfig |
Configuration structure used when creating an AIFF Voice Pool
typedef struct CriAtomExRawPcmVoicePoolConfigTag CriAtomExRawPcmVoicePoolConfig |
Configuration structure used when creating a raw PCM Voice Pool
Configuration structure used when creating an Instrument Voice Pool
typedef void(* CriAtomExVoicePoolCbFunc) (void *obj, CriAtomExVoicePoolHn pool) |
Voice pool callback function type
[in] | obj | User-specified object |
[in] | pool | Voice pool handle |
CriSint32 criAtomExVoicePool_CalculateWorkSizeForStandardVoicePool | ( | const CriAtomExStandardVoicePoolConfig * | config | ) |
Calculate the size of the work buffer required to create a standard Voice Pool
[in] | config | configuration structure to create a standard Voice Pool |
>= | 0 successfully completed |
-1 | error occurred |
CriAtomExVoicePoolHn criAtomExVoicePool_AllocateStandardVoicePool | ( | const CriAtomExStandardVoicePoolConfig * | config, |
void * | work, | ||
CriSint32 | work_size | ||
) |
Create a standard Voice Pool
[in] | config | configuration structure used to create a standard Voice Pool |
[in] | work | work buffer |
[in] | work_size | work buffer size |
CriSint32 criAtomExVoicePool_CalculateWorkSizeForAdxVoicePool | ( | const CriAtomExAdxVoicePoolConfig * | config | ) |
Calculate the size of the work buffer required to create an ADX Voice Pool
[in] | config | configuration structure to create an ADX Voice Pool |
>= | 0 successfully completed |
-1 | error occurred |
CriAtomExVoicePoolHn criAtomExVoicePool_AllocateAdxVoicePool | ( | const CriAtomExAdxVoicePoolConfig * | config, |
void * | work, | ||
CriSint32 | work_size | ||
) |
Create an ADX Voice Pool
[in] | config | configuration structure used to create an ADX Voice Pool |
[in] | work | work buffer |
[in] | work_size | work buffer size |
CriSint32 criAtomExVoicePool_CalculateWorkSizeForHcaVoicePool | ( | const CriAtomExHcaVoicePoolConfig * | config | ) |
Calculate the size of the work buffer required to create an HCA Voice Pool
[in] | config | configuration structure to create an HCA Voice Pool |
>= | 0 successfully completed |
-1 | error occurred |
CriAtomExVoicePoolHn criAtomExVoicePool_AllocateHcaVoicePool | ( | const CriAtomExHcaVoicePoolConfig * | config, |
void * | work, | ||
CriSint32 | work_size | ||
) |
Create an HCA Voice Pool
[in] | config | configuration structure used to create an HCA Voice Pool |
[in] | work | work buffer |
[in] | work_size | work buffer size |
CriSint32 criAtomExVoicePool_CalculateWorkSizeForHcaMxVoicePool | ( | const CriAtomExHcaMxVoicePoolConfig * | config | ) |
Calculate the size of the work buffer required to create an HCA-MX Voice Pool
[in] | config | configuration structure to create an HCA-MX Voice Pool |
>= | 0 successfully completed |
-1 | error occurred |
CriAtomExVoicePoolHn criAtomExVoicePool_AllocateHcaMxVoicePool | ( | const CriAtomExHcaMxVoicePoolConfig * | config, |
void * | work, | ||
CriSint32 | work_size | ||
) |
Create an HCA-MX Voice Pool
[in] | config | configuration structure used to create an HCA-MX Voice Pool |
[in] | work | work buffer |
[in] | work_size | work buffer size |
CriSint32 criAtomExVoicePool_CalculateWorkSizeForWaveVoicePool | ( | const CriAtomExWaveVoicePoolConfig * | config | ) |
alculate the size of the work buffer required to create a Wave Voice Pool
[in] | config | configuration structure to create a Wave Voice Pool |
>= | 0 successfully completed |
-1 | error occurred |
CriAtomExVoicePoolHn criAtomExVoicePool_AllocateWaveVoicePool | ( | const CriAtomExWaveVoicePoolConfig * | config, |
void * | work, | ||
CriSint32 | work_size | ||
) |
Create a Wave Voice Pool
[in] | config | configuration structure used to create a Wave Voice Pool |
[in] | work | work buffer |
[in] | work_size | work buffer size |
CriSint32 criAtomExVoicePool_CalculateWorkSizeForAiffVoicePool | ( | const CriAtomExAiffVoicePoolConfig * | config | ) |
Calculate the size of the work buffer required to create an AIFF Voice Pool
[in] | config | configuration structure to create an AIFF Voice Pool |
0 | or greater Process finished normally. |
-1 | Error occurred. |
CriAtomExVoicePoolHn criAtomExVoicePool_AllocateAiffVoicePool | ( | const CriAtomExAiffVoicePoolConfig * | config, |
void * | work, | ||
CriSint32 | work_size | ||
) |
Creates an AIFF Voice Pool
[in] | config | configuration structure used to create an AIFF Voice Pool |
[in] | work | work buffer |
[in] | work_size | work buffer size |
CriSint32 criAtomExVoicePool_CalculateWorkSizeForRawPcmVoicePool | ( | const CriAtomExRawPcmVoicePoolConfig * | config | ) |
Calculate the size of the work buffer required to create a raw PCM Voice Pool
[in] | config | configuration structure to create a raw PCM Voice Pool |
>= | 0 successfully completed |
-1 | error occurred |
CriAtomExVoicePoolHn criAtomExVoicePool_AllocateRawPcmVoicePool | ( | const CriAtomExRawPcmVoicePoolConfig * | config, |
void * | work, | ||
CriSint32 | work_size | ||
) |
Create a raw PCM Voice Pool
[in] | config | configuration structure used to create a raw PCM Voice Pool |
[in] | work | work buffer |
[in] | work_size | work buffer size |
CriAtomExVoicePoolHn criAtomExVoicePool_AllocateInstrumentVoicePool | ( | const CriAtomExInstrumentVoicePoolConfig * | config, |
void * | work, | ||
CriSint32 | work_size | ||
) |
Create an Instrument Voice Pool
[in] | config | configuration structure used to create an Instrument Voice Pool |
[in] | work | work buffer |
[in] | work_size | work buffer size |
void criAtomExVoicePool_Free | ( | CriAtomExVoicePoolHn | pool | ) |
Destroy a Voice Pool
[in] | pool | Voice Pool handle |
void criAtomExVoicePool_FreeAll | ( | void | ) |
Destroy all the Voice Pools
void criAtomExVoicePool_EnumerateVoicePools | ( | CriAtomExVoicePoolCbFunc | func, |
void * | obj | ||
) |
Voice Pool Enumeration
[in] | func | Voice Pool Callback Function |
[in] | obj | User-specified objects |
void criAtomExVoicePool_GetNumUsedVoices | ( | CriAtomExVoicePoolHn | pool, |
CriSint32 * | cur_num, | ||
CriSint32 * | limit | ||
) |
Get voice usage
[in] | pool | Voice Pool Handle |
[out] | cur_num | Number of voices currently in use |
[out] | limit | Maximum number of voices available |
CriAtomPlayerHn criAtomExVoicePool_GetPlayerHandle | ( | CriAtomExVoicePoolHn | pool, |
CriSint32 | index | ||
) |
Getting the Player Handle
[in] | pool | Voice Pool handle |
[in] | index | Player index |
CriSint32 criAtomExVoicePool_CalculateWorkSizeForInstrumentVoicePool | ( | const CriAtomExInstrumentVoicePoolConfig * | config | ) |
Calculation of work area size for creating instrument voice pool
[in] | config | Config structure for instrument voice pool creation |
0 | or more Completed |
-1 | An error has occured |