CRI ADX
Last Updated: 2024-07-17 10:47 p
|
Data Structures | |
struct | CriAtomExStandardVoicePoolConfigTag |
Configuration structure used when creating a standard Voice Pool. More... | |
struct | CriAtomExAdxVoicePoolConfigTag |
Configuration structure used when creating an ADX Voice Pool. More... | |
struct | CriAtomExHcaVoicePoolConfigTag |
Configuration structure used when creating a HCA Voice Pool. More... | |
struct | CriAtomExHcaMxVoicePoolConfigTag |
Configuration structure used when creating a HCA-MX Voice Pool. More... | |
struct | CriAtomExWaveVoicePoolConfigTag |
Configuration structure used when creating a Wave Voice Pool. More... | |
struct | CriAtomExAiffVoicePoolConfigTag |
Configuration structure used when creating an AIFF Voice Pool. More... | |
struct | CriAtomExRawPcmVoicePoolConfigTag |
Configuration structure used when creating a raw PCM Voice Pool. More... | |
struct | CriAtomExInstrumentVoicePoolConfigTag |
Configuration structure used when creating an Instrument Voice Pool. More... | |
Macros | |
#define | CRIATOMEX_DEFAULT_VOICES_PER_POOL (8) |
Default number of voices. More... | |
#define | CRIATOMEX_MIN_VOICES_PER_POOL (1) |
Minimum Voices. More... | |
#define | CRIATOMEX_MAX_VOICES_PER_POOL (32767) |
Maximum Voices. More... | |
#define | criAtomExVoicePool_SetDefaultConfigForStandardVoicePool(p_config) |
Assign the default values to the configuration structure used to create a standard Voice Pool. More... | |
#define | criAtomExVoicePool_SetDefaultConfigForAdxVoicePool(p_config) |
Assign the default values to the configuration structure used to create an ADX Voice Pool. More... | |
#define | criAtomExVoicePool_SetDefaultConfigForHcaVoicePool(p_config) |
Assign the default values to the configuration structure used to create an HCA Voice Pool. More... | |
#define | criAtomExVoicePool_SetDefaultConfigForHcaMxVoicePool(p_config) |
Assign the default values to the configuration structure used to create a HCA-MX Voice Pool. More... | |
#define | criAtomExVoicePool_SetDefaultConfigForWaveVoicePool(p_config) |
Assign the default values to the configuration structure used to create a Wave Voice Pool. More... | |
#define | criAtomExVoicePool_SetDefaultConfigForAiffVoicePool(p_config) |
Assign the default values to the configuration structure used to create an AIFF Voice Pool. More... | |
#define | criAtomExVoicePool_SetDefaultConfigForRawPcmVoicePool(p_config) |
Assign the default values to the configuration structure used to create a raw PCM Voice Pool. More... | |
#define | criAtomExVoicePool_SetDefaultConfigForInstrumentVoicePool(p_config) |
Assign the default values to the configuration structure used to create an Instrument Voice Pool. More... | |
Typedefs | |
typedef struct CriAtomExVoicePoolTag * | CriAtomExVoicePoolHn |
Voice Pool handle. More... | |
typedef CriUint32 | CriAtomExVoicePoolIdentifier |
Voice Pool identifier. More... | |
typedef struct CriAtomExStandardVoicePoolConfigTag | CriAtomExStandardVoicePoolConfig |
Configuration structure used when creating a standard Voice Pool. More... | |
typedef struct CriAtomExAdxVoicePoolConfigTag | CriAtomExAdxVoicePoolConfig |
Configuration structure used when creating an ADX Voice Pool. More... | |
typedef struct CriAtomExHcaVoicePoolConfigTag | CriAtomExHcaVoicePoolConfig |
Configuration structure used when creating a HCA Voice Pool. More... | |
typedef struct CriAtomExHcaMxVoicePoolConfigTag | CriAtomExHcaMxVoicePoolConfig |
Configuration structure used when creating a HCA-MX Voice Pool. More... | |
typedef struct CriAtomExWaveVoicePoolConfigTag | CriAtomExWaveVoicePoolConfig |
Configuration structure used when creating a Wave Voice Pool. More... | |
typedef struct CriAtomExAiffVoicePoolConfigTag | CriAtomExAiffVoicePoolConfig |
Configuration structure used when creating an AIFF Voice Pool. More... | |
typedef struct CriAtomExRawPcmVoicePoolConfigTag | CriAtomExRawPcmVoicePoolConfig |
Configuration structure used when creating a raw PCM Voice Pool. More... | |
typedef struct CriAtomExInstrumentVoicePoolConfigTag | CriAtomExInstrumentVoicePoolConfig |
Configuration structure used when creating an Instrument Voice Pool. More... | |
typedef void(* | CriAtomExVoicePoolCbFunc) (void *obj, CriAtomExVoicePoolHn pool) |
Voice pool callback function type. More... | |
#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 |