CRI ADX
Last Updated: 2024-07-17 10:47 p
|
Macros | |
#define | CRIATOMAWB_WORKSIZE_FOR_LOADFROMMEMORY (64) |
Work area size required for creating on-memory AWB handle. More... | |
#define | CRIATOMAWB_ILLEGAL_ID (-1) |
Invalid waveform data ID. More... | |
#define | CRIATOM_DEFAULT_DBAS_MAX_BPS |
Default initialization maximum bit rate for creating D-BAS. More... | |
Typedefs | |
typedef struct CriAtomAwbTag * | CriAtomAwbHn |
AWB handle. More... | |
typedef enum CriAtomAwbStatusTag | CriAtomAwbStatus |
AWB status. More... | |
typedef enum CriAtomAwbTypeTag | CriAtomAwbType |
AWB type. More... | |
Enumerations | |
enum | CriAtomAwbStatusTag { CRIATOMAWB_STATUS_STOP = 0 , CRIATOMAWB_STATUS_LOADING , CRIATOMAWB_STATUS_COMPLETE , CRIATOMAWB_STATUS_ERROR , CRIATOMAWB_STATUS_ENUM_SIZE_IS_4BYTES = 0x7FFFFFFF } |
AWB status. More... | |
enum | CriAtomAwbTypeTag { CRIATOMAWB_TYPE_TOC = 0 , CRIATOMAWB_TYPE_ONMEMORY , CRIATOMAWB_TYPE_ERROR , CRIATOMAWB_TYPE_ENUM_SIZE_IS_4BYTES = 0x7FFFFFFF } |
AWB type. More... | |
Functions | |
CriSint32 | criAtomAwb_CalculateWorkSizeForLoadToc (CriSint32 num) |
Calculate work area size required for loading AWB file's TOC information. More... | |
CriAtomAwbHn | criAtomAwb_LoadToc (CriFsBinderHn binder, const CriChar8 *path, void *work, CriSint32 work_size) |
Load AWB file's TOC information (synchronous version) More... | |
CriAtomAwbHn | criAtomAwb_LoadTocById (CriFsBinderHn binder, CriUint16 id, void *work, CriSint32 work_size) |
Load AWB file's TOC information specifying ID (synchronous version) More... | |
CriAtomAwbHn | criAtomAwb_LoadTocAsync (CriFsBinderHn binder, const CriChar8 *path, void *work, CriSint32 work_size) |
Load AWB file's TOC information (asynchronous version) More... | |
CriAtomAwbHn | criAtomAwb_LoadTocAsyncById (CriFsBinderHn binder, CriUint16 id, void *work, CriSint32 work_size) |
Load AWB file's TOC information specifying ID (asynchronous version) More... | |
CriAtomAwbHn | criAtomAwb_LoadFromMemory (void *awb_mem, CriSint32 awb_mem_size, void *work, CriSint32 work_size) |
Create on-memory AWB handle. More... | |
CriAtomAwbType | criAtomAwb_GetType (CriAtomAwbHn awb) |
Get value indicating AWB handle type. More... | |
CriBool | criAtomAwb_GetWaveFileInfo (CriAtomAwbHn awb, CriSint32 id, CriSint64 *offset, CriUint32 *size) |
Get wave data file information from AWB TOC information. More... | |
void | criAtomAwb_GetWaveDataInfo (CriAtomAwbHn awb, CriSint32 id, void **wave_data_start, CriUint32 *size) |
Get wave data information from on-memory AWB. More... | |
CriUint16 | criAtomAwb_GetNumContents (CriAtomAwbHn awb) |
Get number of contents in AWB file through AWB handle. More... | |
void | criAtomAwb_Release (CriAtomAwbHn awb) |
Release AWB handle. More... | |
CriBool | criAtomAwb_IsReadyToRelease (CriAtomAwbHn awb) |
Check whether AWB handle can be released immediately. More... | |
CriAtomAwbStatus | criAtomAwb_GetStatus (CriAtomAwbHn awb) |
Get AWB handle status. More... | |
CriSint32 | criAtomAwb_GetIdByIndex (CriAtomAwbHn awb, CriUint16 index) |
Get waveform data ID. More... | |
CriFloat32 | criAtomDsp_ConvertParameterFromCent (CriFloat32 cent) |
Convert from cent to DSP parameter. More... | |
#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.
Enumerator | |
---|---|
CRIATOMAWB_STATUS_STOP | Stopped |
CRIATOMAWB_STATUS_LOADING | Loading |
CRIATOMAWB_STATUS_COMPLETE | Load complete |
CRIATOMAWB_STATUS_ERROR | Load failed |
enum CriAtomAwbTypeTag |
AWB type.
Enumerator | |
---|---|
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 |