Go to the source code of this file.
|
| enum | IgoRet {
IGO_RET_OK = 0
, IGO_RET_ERR
, IGO_RET_NO_SERVICE
, IGO_RET_INVL_ARG
,
IGO_RET_NO_MEMORY
, IGO_RET_NOT_SUPPORT
, IGO_RET_ALGO_NAME_NOT_FOUND
, IGO_RET_CH_NUM_ERR
,
IGO_RET_SAMPLING_RATE_NOT_SUPPORT
, IGO_RET_IN_DATA_ERR
, IGO_RET_REF_DATA_ERR
, IGO_RET_OUT_DATA_ERR
,
IGO_RET_PARAM_NOT_FOUND
, IGO_RET_PARAM_READ_ONLY
, IGO_RET_PARAM_WRITE_ONLY
, IGO_RET_PARAM_INVALID_VAL
,
IGO_RET_LAST
} |
| enum | IgoDataWidth { IGO_DATA_16BIT = 0
, IGO_DATA_24BIT
, IGO_DATA_LAST
} |
◆ IgoDataWidth
| Enumerator |
|---|
| IGO_DATA_16BIT | |
| IGO_DATA_24BIT | |
| IGO_DATA_LAST | |
◆ IgoRet
| Enumerator |
|---|
| IGO_RET_OK | |
| IGO_RET_ERR | |
| IGO_RET_NO_SERVICE | |
| IGO_RET_INVL_ARG | |
| IGO_RET_NO_MEMORY | |
| IGO_RET_NOT_SUPPORT | |
| IGO_RET_ALGO_NAME_NOT_FOUND | |
| IGO_RET_CH_NUM_ERR | |
| IGO_RET_SAMPLING_RATE_NOT_SUPPORT | |
| IGO_RET_IN_DATA_ERR | |
| IGO_RET_REF_DATA_ERR | |
| IGO_RET_OUT_DATA_ERR | |
| IGO_RET_PARAM_NOT_FOUND | |
| IGO_RET_PARAM_READ_ONLY | |
| IGO_RET_PARAM_WRITE_ONLY | |
| IGO_RET_PARAM_INVALID_VAL | |
| IGO_RET_LAST | |
◆ IgoLibGetInfo()
IgoLibGetInfo() - Retrieve the lib information.
- Parameters
-
| [out] | info | Lib information. |
This API is used to get library detail information.
- Returns
- iGo defined return value.
◆ IgoLibInit()
| enum IgoRet IgoLibInit |
( |
void * | handle, |
|
|
const struct IgoLibConfig * | config, |
|
|
void * | param ) |
IgoLibInit() - Initialize iGo lib instance.
- Parameters
-
| [out] | handle | iGo lib handle. |
| [in] | config | Lib configuration for initialization. |
| [in] | param | the point of iGO Parameter for initialization. |
This API is used to initialize iGo lib instance and get a handle which is for control the iGo lib instance.
P.S. The channel number in the config is algorithm dependent.
- Returns
- iGo defined return value.
◆ IgoLibProcess()
IgoLibProcess() - Process audio stream.
- Parameters
-
| [in] | handle | iGo lib handle. |
| [in] | in | input audio stream. |
| [in] | ref | reference audio stream. |
| [out] | out | output audio stream. |
This API is used to process audio stream. The default audio sample is 16bit. The sampling rate and sample number should be specified in IgoStreamData structure. If the channel number > 1 for IgoStreamData, the data should be interleaved sample by sample.
Note: IgoLibProcess supports 16k/48k 16bit data only by default. If other data format or sampling rate is required, please ask intelliGo for support.
- Returns
- iGo defined return value.