CRI ADX
Last Updated: 2024-07-17 10:48 p
|
宏定义 | |
#define | CRIATOMAWB_WORKSIZE_FOR_LOADFROMMEMORY (64) |
Work area size required for creating on-memory AWB handle 更多... | |
#define | CRIATOMAWB_ILLEGAL_ID (-1) |
Invalid waveform data ID 更多... | |
#define | CRIATOM_DEFAULT_DBAS_MAX_BPS |
Default initialization maximum bit rate for creating D-BAS 更多... | |
类型定义 | |
typedef struct CriAtomAwbTag * | CriAtomAwbHn |
AWB handle 更多... | |
typedef enum CriAtomAwbStatusTag | CriAtomAwbStatus |
AWB status 更多... | |
typedef enum CriAtomAwbTypeTag | CriAtomAwbType |
AWB type 更多... | |
枚举 | |
enum | CriAtomAwbStatusTag { CRIATOMAWB_STATUS_STOP = 0 , CRIATOMAWB_STATUS_LOADING , CRIATOMAWB_STATUS_COMPLETE , CRIATOMAWB_STATUS_ERROR , CRIATOMAWB_STATUS_ENUM_SIZE_IS_4BYTES = 0x7FFFFFFF } |
AWB status 更多... | |
enum | CriAtomAwbTypeTag { CRIATOMAWB_TYPE_TOC = 0 , CRIATOMAWB_TYPE_ONMEMORY , CRIATOMAWB_TYPE_ERROR , CRIATOMAWB_TYPE_ENUM_SIZE_IS_4BYTES = 0x7FFFFFFF } |
AWB type 更多... | |
函数 | |
CriSint32 | criAtomAwb_CalculateWorkSizeForLoadToc (CriSint32 num) |
Calculate work area size required for loading AWB file's TOC information 更多... | |
CriAtomAwbHn | criAtomAwb_LoadToc (CriFsBinderHn binder, const CriChar8 *path, void *work, CriSint32 work_size) |
Load AWB file's TOC information (synchronous version) 更多... | |
CriAtomAwbHn | criAtomAwb_LoadTocById (CriFsBinderHn binder, CriUint16 id, void *work, CriSint32 work_size) |
Load AWB file's TOC information specifying ID (synchronous version) 更多... | |
CriAtomAwbHn | criAtomAwb_LoadTocAsync (CriFsBinderHn binder, const CriChar8 *path, void *work, CriSint32 work_size) |
Load AWB file's TOC information (asynchronous version) 更多... | |
CriAtomAwbHn | criAtomAwb_LoadTocAsyncById (CriFsBinderHn binder, CriUint16 id, void *work, CriSint32 work_size) |
Load AWB file's TOC information specifying ID (asynchronous version) 更多... | |
CriAtomAwbHn | criAtomAwb_LoadFromMemory (void *awb_mem, CriSint32 awb_mem_size, void *work, CriSint32 work_size) |
Create on-memory AWB handle 更多... | |
CriAtomAwbType | criAtomAwb_GetType (CriAtomAwbHn awb) |
Get value indicating AWB handle type 更多... | |
CriBool | criAtomAwb_GetWaveFileInfo (CriAtomAwbHn awb, CriSint32 id, CriSint64 *offset, CriUint32 *size) |
Get wave data file information from AWB TOC information 更多... | |
void | criAtomAwb_GetWaveDataInfo (CriAtomAwbHn awb, CriSint32 id, void **wave_data_start, CriUint32 *size) |
Get wave data information from on-memory AWB 更多... | |
CriUint16 | criAtomAwb_GetNumContents (CriAtomAwbHn awb) |
Get number of contents in AWB file through AWB handle 更多... | |
void | criAtomAwb_Release (CriAtomAwbHn awb) |
Release AWB handle 更多... | |
CriBool | criAtomAwb_IsReadyToRelease (CriAtomAwbHn awb) |
Check whether AWB handle can be released immediately 更多... | |
CriAtomAwbStatus | criAtomAwb_GetStatus (CriAtomAwbHn awb) |
Get AWB handle status 更多... | |
CriSint32 | criAtomAwb_GetIdByIndex (CriAtomAwbHn awb, CriUint16 index) |
Get waveform data ID 更多... | |
CriFloat32 | criAtomDsp_ConvertParameterFromCent (CriFloat32 cent) |
Convert from cent to DSP parameter 更多... | |
#define CRIATOMAWB_WORKSIZE_FOR_LOADFROMMEMORY (64) |
Work area size required for creating on-memory AWB handle
#define CRIATOMAWB_ILLEGAL_ID (-1) |
Invalid waveform data ID
#define CRIATOM_DEFAULT_DBAS_MAX_BPS |
Default initialization maximum bit rate for creating D-BAS
typedef struct CriAtomAwbTag* CriAtomAwbHn |
AWB handle
typedef enum CriAtomAwbStatusTag CriAtomAwbStatus |
AWB status
typedef enum CriAtomAwbTypeTag CriAtomAwbType |
AWB type
enum CriAtomAwbStatusTag |
AWB status
枚举值 | |
---|---|
CRIATOMAWB_STATUS_STOP | Stopped |
CRIATOMAWB_STATUS_LOADING | Loading |
CRIATOMAWB_STATUS_COMPLETE | Load complete |
CRIATOMAWB_STATUS_ERROR | Load failed |
enum CriAtomAwbTypeTag |
AWB type
枚举值 | |
---|---|
CRIATOMAWB_TYPE_TOC | AWB handle with TOC information only |
CRIATOMAWB_TYPE_ONMEMORY | On-memory AWB handle |
CRIATOMAWB_TYPE_ERROR | Invalid AWB handle |
CriSint32 criAtomAwb_CalculateWorkSizeForLoadToc | ( | CriSint32 | num | ) |
Calculate work area size required for loading AWB file's TOC information
[in] | num | number of contents in AWB file |
>= | 0 successfully completed |
-1 | error occurred |
CriAtomAwbHn criAtomAwb_LoadToc | ( | CriFsBinderHn | binder, |
const CriChar8 * | path, | ||
void * | work, | ||
CriSint32 | work_size | ||
) |
Load AWB file's TOC information (synchronous version)
[in] | binder | binder handle |
[in] | path | AWB file name |
[in] | work | AWB file TOC information load work area |
[in] | work_size | work area size |
CriAtomAwbHn criAtomAwb_LoadTocById | ( | CriFsBinderHn | binder, |
CriUint16 | id, | ||
void * | work, | ||
CriSint32 | work_size | ||
) |
Load AWB file's TOC information specifying ID (synchronous version)
[in] | binder | binder handle |
[in] | id | ID of CPK content containing AWB file |
[in] | work | AWB file TOC information load work area |
[in] | work_size | work area size |
CriAtomAwbHn criAtomAwb_LoadTocAsync | ( | CriFsBinderHn | binder, |
const CriChar8 * | path, | ||
void * | work, | ||
CriSint32 | work_size | ||
) |
Load AWB file's TOC information (asynchronous version)
[in] | binder | binder handle |
[in] | path | AWB file name |
[in] | work | AWB file TOC information load work area |
[in] | work_size | work area size |
CriAtomAwbHn criAtomAwb_LoadTocAsyncById | ( | CriFsBinderHn | binder, |
CriUint16 | id, | ||
void * | work, | ||
CriSint32 | work_size | ||
) |
Load AWB file's TOC information specifying ID (asynchronous version)
[in] | binder | binder handle |
[in] | id | ID of CPK content containing AWB file |
[in] | work | AWB file TOC information load work area |
[in] | work_size | work area size |
CriAtomAwbHn criAtomAwb_LoadFromMemory | ( | void * | awb_mem, |
CriSint32 | awb_mem_size, | ||
void * | work, | ||
CriSint32 | work_size | ||
) |
Create on-memory AWB handle
[in] | awb_mem | pointer to memory area in which AWB file is loaded |
[in] | awb_mem_size | AWB file size |
[in] | work | pointer to on-memory AWB work area |
[in] | work_size | on-memory AWB work area size |
CriAtomAwbType criAtomAwb_GetType | ( | CriAtomAwbHn | awb | ) |
Get value indicating AWB handle type
[in] | awb | information source AWB handle |
CriBool criAtomAwb_GetWaveFileInfo | ( | CriAtomAwbHn | awb, |
CriSint32 | id, | ||
CriSint64 * | offset, | ||
CriUint32 * | size | ||
) |
Get wave data file information from AWB TOC information
[in] | awb | information source AWB handle |
[in] | id | wave data ID |
[out] | offset | wave data offset (bytes) |
[out] | size | wave data size (bytes) |
void criAtomAwb_GetWaveDataInfo | ( | CriAtomAwbHn | awb, |
CriSint32 | id, | ||
void ** | wave_data_start, | ||
CriUint32 * | size | ||
) |
Get wave data information from on-memory AWB
[in] | awb | information source AWB handle |
[in] | id | wave data ID |
[out] | wave_data_start | wave data pointer (bytes) |
[out] | size | wave data size (bytes) |
CriUint16 criAtomAwb_GetNumContents | ( | CriAtomAwbHn | awb | ) |
Get number of contents in AWB file through AWB handle
[in] | awb | information source AWB handle |
void criAtomAwb_Release | ( | CriAtomAwbHn | awb | ) |
Release AWB handle
[in] | awb | AWB handle |
CriBool criAtomAwb_IsReadyToRelease | ( | CriAtomAwbHn | awb | ) |
Check whether AWB handle can be released immediately
[in] | awb | AWB handle |
CriAtomAwbStatus criAtomAwb_GetStatus | ( | CriAtomAwbHn | awb | ) |
Get AWB handle status
[in] | awb | AWB handle |
CriSint32 criAtomAwb_GetIdByIndex | ( | CriAtomAwbHn | awb, |
CriUint16 | index | ||
) |
Get waveform data ID
[in] | awb | AWB Handle |
[in] | index | Waveform Index |
Waveform | data ID (0 or more) Processing completed successfully |
CRIATOMAWB_ILLEGAL_ID | (-1) An error has occured |
CriFloat32 criAtomDsp_ConvertParameterFromCent | ( | CriFloat32 | cent | ) |
Convert from cent to DSP parameter
[in] | cent | Cent value |