CRI ADX
Last Updated: 2024-07-17 10:47 p
|
Data Structures | |
struct | CriAtomHcaMxConfigTag |
HCA-MX initialization configuration structureThis structure is used for specifying the behavior of the HCA-MX. This structure is specified as an argument of the criAtomHcaMx_Initialize function. More... | |
Macros | |
#define | criAtomHcaMx_SetDefaultConfig(p_config) |
Set default values for HCA-MX configuration structure. More... | |
Typedefs | |
typedef struct CriAtomHcaMxConfigTag | CriAtomHcaMxConfig |
HCA-MX initialization configuration structureThis structure is used for specifying the behavior of the HCA-MX. This structure is specified as an argument of the criAtomHcaMx_Initialize function. More... | |
Functions | |
CriSint32 | criAtomHcaMx_CalculateWorkSize (const CriAtomHcaMxConfig *config) |
Calculate work area size required for initializing HCA-MX. More... | |
void | criAtomHcaMx_SetConfigForWorkSizeCalculation (const CriAtomHcaMxConfig *config) |
Set configuration structure for work area size calculation. More... | |
void | criAtomHcaMx_Initialize (const CriAtomHcaMxConfig *config, void *work, CriSint32 work_size) |
Initialize HCA-MX. More... | |
void | criAtomHcaMx_Finalize (void) |
Finalize HCA-MX. More... | |
void | criAtomHcaMx_SetBusSendLevelByName (CriSint32 mixer_id, const CriChar8 *bus_name, CriFloat32 level) |
Set mixer bus send level. More... | |
void | criAtomHcaMx_SetFrequencyRatio (CriSint32 mixer_id, CriFloat32 ratio) |
Set output frequency adjustment ratio of mixer. More... | |
#define criAtomHcaMx_SetDefaultConfig | ( | p_config | ) |
Set default values for HCA-MX configuration structure.
typedef struct CriAtomHcaMxConfigTag CriAtomHcaMxConfig |
HCA-MX initialization configuration structureThis structure is used for specifying the behavior of the HCA-MX.
This structure is specified as an argument of the criAtomHcaMx_Initialize function.
CriSint32 criAtomHcaMx_CalculateWorkSize | ( | const CriAtomHcaMxConfig * | config | ) |
Calculate work area size required for initializing HCA-MX.
[in] | config | configuration structure for initializing HCA-MX |
>= | 0 successfully completed |
-1 | error occurred |
void criAtomHcaMx_SetConfigForWorkSizeCalculation | ( | const CriAtomHcaMxConfig * | config | ) |
Set configuration structure for work area size calculation.
[in] | config | Configuration structure for HCA-MX initialization |
void criAtomHcaMx_Initialize | ( | const CriAtomHcaMxConfig * | config, |
void * | work, | ||
CriSint32 | work_size | ||
) |
Initialize HCA-MX.
[in] | config | configuration structure for initializing HCA-MX |
[in] | work | work area |
[in] | work_size | work area size |
void criAtomHcaMx_Finalize | ( | void | ) |
Finalize HCA-MX.
void criAtomHcaMx_SetBusSendLevelByName | ( | CriSint32 | mixer_id, |
const CriChar8 * | bus_name, | ||
CriFloat32 | level | ||
) |
Set mixer bus send level.
[in] | mixer_id | mixer id |
[in] | bus_name | Bus name |
[in] | level | send level (0.0f to 1.0f) |
void criAtomHcaMx_SetFrequencyRatio | ( | CriSint32 | mixer_id, |
CriFloat32 | ratio | ||
) |
Set output frequency adjustment ratio of mixer.
[in] | mixer_id | mixer ID |
[in] | ratio | send level (0.25f to 4.0f) |