36#ifndef __MODULES_INCLUDE_AUDIO_AUDIO_HIGH_LEVEL_API_H
37#define __MODULES_INCLUDE_AUDIO_AUDIO_HIGH_LEVEL_API_H
59#include <sdk/config.h>
63#ifdef CONFIG_AUDIOUTILS_PLAYER
68#ifdef CONFIG_AUDIOUTILS_RECORDER
73#ifdef CONFIG_AUDIOUTILS_SOUND_RECOGNIZER
79#ifdef CONFIG_AUDIOUTILS_SYNTHESIZER
98#define LENGTH_AUDRLT 2
102#define LENGTH_AUDRLT_ERRORRESPONSE_MAX 8
106#define LENGTH_AUDRLT_ERRORRESPONSE_MIN 5
115#define LENGTH_GETSTATUS 2
119#define LENGTH_SET_PLAYER_STATUS 6
123#define LENGTH_SET_RECORDER_STATUS 4
127#define LENGTH_SET_RECOGNIZER_STATUS 4
131#define LENGTH_SET_BASEBAND_STATUS 9
135#define LENGTH_SET_THROUGH_STATUS 3
139#define LENGTH_SET_READY_STATUS 2
143#define LENGTH_POWERON 2
147#define LENGTH_SET_POWEROFF_STATUS 2
151#define LENGTH_SETMICMAP 4
155#define LENGTH_INITMICGAIN 5
159#define LENGTH_INITI2SPARAM 3
163#define LENGTH_INITDEQPARAM 8
167#define LENGTH_INITOUTPUTSELECT 2
171#define LENGTH_INITDNCPARAM 2
175#define LENGTH_INITCLEARSTEREO 2
179#define LENGTH_SETVOLUME 3
183#define LENGTH_SETVOLUMEMUTE 2
187#define LENGTH_SETBEEPPARAM 3
191#define LENGTH_SETRENDERINGCLK 2
195#define LENGTH_INIT_SOUNDEFFECT 3
199#define LENGTH_START_SOUNDEFFECT 2
203#define LENGTH_STOP_SOUNDEFFECT 2
207#define LENGTH_SET_THROUGH_PATH 4
211#define LENGTH_INITSPDRVMODE 2
212#define LENGTH_SETSPDRVMODE LENGTH_INITSPDRVMODE
221#define AS_ECODE_OK 0x00
225#define AS_ECODE_STATE_VIOLATION 0x01
229#define AS_ECODE_PACKET_LENGTH_ERROR 0x02
233#define AS_ECODE_COMMAND_CODE_ERROR 0x03
237#define AS_ECODE_COMMAND_NOT_SUPPOT 0x04
241#define AS_ECODE_AUDIO_POWER_ON_ERROR 0x05
245#define AS_ECODE_AUDIO_POWER_OFF_ERROR 0x06
249#define AS_ECODE_DSP_LOAD_ERROR 0x07
253#define AS_ECODE_DSP_UNLOAD_ERROR 0x08
257#define AS_ECODE_DSP_VERSION_ERROR 0x09
261#define AS_ECODE_DSP_EXEC_ERROR 0x3b
265#define AS_ECODE_DSP_STOP_ERROR 0x3c
269#define AS_ECODE_DSP_SET_ERROR 0x3d
273#define AS_ECODE_SET_AUDIO_DATA_PATH_ERROR 0x0A
277#define AS_ECODE_CLEAR_AUDIO_DATA_PATH_ERROR 0x0B
281#define AS_ECODE_NOT_AUDIO_DATA_PATH 0x0C
285#define AS_ECODE_DECODER_LIB_INITIALIZE_ERROR 0x0D
289#define AS_ECODE_ENCODER_LIB_INITIALIZE_ERROR 0x0E
293#define AS_ECODE_FILTER_LIB_INITIALIZE_ERROR 0x0F
297#define AS_ECODE_DUMP_INITIALIZE_ERROR 0x10
301#define AS_ECODE_COMMAND_PARAM_CODEC_TYPE 0x11
305#define AS_ECODE_COMMAND_PARAM_AREA_INSUFFICIENT 0x12
309#define AS_ECODE_COMMAND_PARAM_CHANNEL_NUMBER 0x13
313#define AS_ECODE_COMMAND_PARAM_SAMPLING_RATE 0x14
317#define AS_ECODE_COMMAND_PARAM_BIT_RATE 0x15
321#define AS_ECODE_COMMAND_PARAM_BIT_LENGTH 0x16
325#define AS_ECODE_COMMAND_PARAM_COMPLEXITY 0x17
329#define AS_ECODE_COMMAND_PARAM_ACTIVE_PLAYER 0x18
333#define AS_ECODE_COMMAND_PARAM_INPUT_DEVICE 0x19
337#define AS_ECODE_COMMAND_PARAM_OUTPUT_DEVICE 0x1A
341#define AS_ECODE_COMMAND_PARAM_INPUT_HANDLER 0x1B
345#define AS_ECODE_COMMAND_PARAM_OUTPUT_HANDLER 0x1C
349#define AS_ECODE_COMMAND_PARAM_CALLBACK 0x1D
353#define AS_ECODE_COMMAND_PARAM_FUNCTION_ENABLE 0x1E
357#define AS_ECODE_COMMAND_PARAM_CONFIG_TABLE 0x1F
361#define AS_ECODE_COMMAND_PARAM_WITH_MFE 0x20
365#define AS_ECODE_COMMAND_PARAM_WITH_MPP 0x21
369#define AS_ECODE_COMMAND_PARAM_OUTPUT_DATE 0x22
373#define AS_ECODE_COMMAND_PARAM_SELECT_MIC 0x23
377#define AS_ECODE_COMMAND_PARAM_MIC_GAIN 0x24
381#define AS_ECODE_COMMAND_PARAM_I2S_ID 0x25
385#define AS_ECODE_COMMAND_PARAM_BYPASS_MODE 0x26
389#define AS_ECODE_COMMAND_PARAM_VOLLUME 0x27
393#define AS_ECODE_COMMAND_PARAM_INPUT_DB 0x28
397#define AS_ECODE_COMMAND_PARAM_MASTER_DB 0x29
401#define AS_ECODE_COMMAND_PARAM_BEEP_FREQ 0x2A
405#define AS_ECODE_DMAC_INITIALIZE_ERROR 0x2B
409#define AS_ECODE_DMAC_READ_ERROR 0x2C
413#define AS_ECODE_DMAC_WRITE_ERROR 0x2D
417#define AS_ECODE_CHECK_MEMORY_POOL_ERROR 0x2E
421#define AS_ECODE_SIMPLE_FIFO_UNDERFLOW 0x2F
425#define AS_ECODE_SET_MIC_GAIN_ERROR 0x30
429#define AS_ECODE_SET_I2S_PARAM_ERROR 0x31
433#define AS_ECODE_SET_OUTPUT_SELECT_ERROR 0x32
437#define AS_ECODE_INIT_CLEAR_STEREO_ERROR 0x33
441#define AS_ECODE_SET_VOLUME_ERROR 0x34
445#define AS_ECODE_SET_VOLUME_MUTE_ERROR 0x35
449#define AS_ECODE_SET_BEEP_ERROR 0x36
453#define AS_ECODE_QUEUE_OPERATION_ERROR 0x37
457#define AS_ECODE_INTERNAL_COMMAND_CODE_ERROR 0x38
461#define AS_ECODE_COMMAND_PARAM_RENDERINGCLK 0x39
465#define AS_ECODE_SET_RENDERINGCLK_ERROR 0x3A
469#define AS_ECODE_COMMAND_PARAM_INITSPDRVMODE 0x3B
470#define AS_ECODE_COMMAND_PARAM_SETSPDRVMODE AS_ECODE_COMMAND_PARAM_INITSPDRVMODE
474#define AS_ECODE_SET_MICMAP_ERROR 0x3D
478#define AS_ECODE_OBJECT_NOT_AVAILABLE_ERROR 0x3E
482#define AS_ECODE_OSCILLATOR_LIB_INITIALIZE_ERROR 0x3F
584 AS_I2S_BYPASS_MODE_DISABLE,
585 AS_I2S_BYPASS_MODE_ENABLE
804#define SetSpDrvModeParam InitSpDrvModeParam
841 AS_STARTSOUNDEFFECT_MODE_NUM
848 AS_THROUGH_PATH_IN_MIC = 0,
849 AS_THROUGH_PATH_IN_I2S1,
850 AS_THROUGH_PATH_IN_I2S2,
851 AS_THROUGH_PATH_IN_MIXER,
852 AS_THROUGH_PATH_IN_NUM
859 AS_THROUGH_PATH_OUT_MIXER1 = 0,
860 AS_THROUGH_PATH_OUT_MIXER2,
861 AS_THROUGH_PATH_OUT_I2S1,
862 AS_THROUGH_PATH_OUT_I2S2,
863 AS_THROUGH_PATH_OUT_NUM
870 AS_SP_DRV_MODE_LINEOUT = 0,
871 AS_SP_DRV_MODE_1DRIVER,
872 AS_SP_DRV_MODE_2DRIVER,
873 AS_SP_DRV_MODE_4DRIVER,
918#ifdef AS_FEATURE_OUTPUTMIX_ENABLE
972#ifdef AS_FEATURE_FRONTEND_ENABLE
1037#ifdef AS_FEATURE_RECOGNIZER_ENABLE
1048 uint8_t input_device;
1050} AsSetRecognizerStatus;
1061 uint8_t recognizer_type;
1070 RecognizerFindCallback fcb;
1093#if defined(__CC_ARM)
1104#ifdef AS_FEATURE_EFFECTOR_ENABLE
1126#ifdef AS_FEATURE_PLAYER_ENABLE
1139#ifdef AS_FEATURE_OUTPUTMIX_ENABLE
1165#ifdef AS_FEATURE_FRONTEND_ENABLE
1186#ifdef AS_FEATURE_RECORDER_ENABLE
1200#ifdef AS_FEATURE_RECOGNIZER_ENABLE
1206 AsSetRecognizerStatus set_recognizer_status_param;
1212 AsInitRecognizer init_recognizer;
1218 AsStartRecognizer start_recognizer;
1224 AsStopRecognizer stop_recognizer;
1320 SetSpDrvModeParam set_sp_drv_mode;
1324 uint8_t getCode(
void)
1328 bool isStateChange(
void)
1330 return ((getCode() & 0x40) != 0);
1334#if !defined(__CC_ARM)
1427 AS_MNG_SUB_STATUS_NUM
1474 AS_STATUS_CHANGED_STS_NUM
1617#if defined(__CC_ARM)
1647#if !defined(__CC_ARM)
1773 \nPlease use \"AudioAttentionCb\" as callback type. \
CXD5602 Audio Capture API.
CXD5602 Audio Command ID.
CXD5602 Audio Common Definitions.
CXD5602 Audio Mic Frontend API.
CXD5602 Audio OutputMix API.
CXD5602 Audio Player API.
CXD5602 Audio Recognizer API.
CXD5602 Audio Recorder API.
CXD5602 Audio Renderer API.
CXD5602 Audio Synthesizer API.
#define AS_PREPROCESS_FILE_PATH_LEN
Length of Recognizer dsp file name and path.
Definition: audio_frontend_api.h:89
AsThroughPathOut
Definition: audio_high_level_api.h:858
int AS_SendAudioCommand(AudioCommand *packet)
Send Audio Command.
AsMngSubStatus
Definition: audio_high_level_api.h:1383
AsStatusChangedSts
Definition: audio_high_level_api.h:1449
AsDncMode
InitDNCParam Command (AUDCMD_INITDNCPARAM) parameter.
Definition: audio_high_level_api.h:643
AsI2sId
Definition: audio_high_level_api.h:577
__attribute__((deprecated("\nDeprecated attention callback type is used. \
\nPlease use \"AudioAttentionCb\" as callback type. \
\n"))) int AS_CreateAudioManager(AudioSubSystemIDs ids
Activate AudioSubSystem[Deprecated] This API is to make it compatible with old application....
void(* AudioAttentionCb)(const ErrorAttentionParam *attparam)
Definition: audio_common_defs.h:810
AsSpDrvMode
Definition: audio_high_level_api.h:869
AsMngStatus
Definition: audio_high_level_api.h:1348
AsErrorCode_e
Definition: audio_high_level_api.h:1482
asBeepEn
Definition: audio_high_level_api.h:1517
AsOutDevice
Definition: audio_high_level_api.h:612
AsEnableSoundEffectFunc
Definition: audio_high_level_api.h:817
AsVolumeMute
Definition: audio_high_level_api.h:1499
#define AS_MIC_CHANNEL_MAX
Definition: audio_common_defs.h:86
int AS_CreateAudioManager(AudioSubSystemIDs ids, AudioAttentionCb att_cb)
Activate AudioSubSystem.
AsClkMode
Definition: audio_high_level_api.h:809
#define LENGTH_AUDRLT_ERRORRESPONSE_MIN
Definition: audio_high_level_api.h:106
#define LENGTH_AUDRLT_ERRORRESPONSE_MAX
Definition: audio_high_level_api.h:102
int AS_ReceiveAudioResult(AudioResult *packet)
Receive Audio Result.
AsVadStatus
Definition: audio_high_level_api.h:1435
AsFrontendDataDest
Definition: audio_high_level_api.h:975
AsStartSoundEffectMode
Definition: audio_high_level_api.h:833
int AS_DeleteAudioManager(void)
Deactivate AudioSubSystem.
AsThroughPathIn
Definition: audio_high_level_api.h:847
@ AS_MNG_SUB_STATUS_RECORDERREADY
RecorderReady.
Definition: audio_high_level_api.h:1402
@ AS_MNG_SUB_STATUS_PLAYREADY
PlayReady.
Definition: audio_high_level_api.h:1390
@ AS_MNG_SUB_STATUS_NONE
None.
Definition: audio_high_level_api.h:1386
@ AS_MNG_SUB_STATUS_PLAYPAUSE
PlayPause.
Definition: audio_high_level_api.h:1398
@ AS_MNG_SUB_STATUS_RECOGNIZERREADY
RecognizerReady.
Definition: audio_high_level_api.h:1410
@ AS_MNG_SUB_STATUS_BASEBANDREADY
BaseBandReady.
Definition: audio_high_level_api.h:1418
@ AS_MNG_SUB_STATUS_RECORDERACTIVE
RecorderActive.
Definition: audio_high_level_api.h:1406
@ AS_MNG_SUB_STATUS_RECOGNIZERACTIVE
RecognizerActive.
Definition: audio_high_level_api.h:1414
@ AS_MNG_SUB_STATUS_WAITCMDWORD
WaitCommandword.
Definition: audio_high_level_api.h:1426
@ AS_MNG_SUB_STATUS_BASEBANDACTIVE
BaseBandActive.
Definition: audio_high_level_api.h:1422
@ AS_MNG_SUB_STATUS_PLAYACTIVE
PlayActive.
Definition: audio_high_level_api.h:1394
@ AS_STATUS_CHANGED_STS_THROUGH
to Through
Definition: audio_high_level_api.h:1472
@ AS_STATUS_CHANGED_STS_READY
to Ready
Definition: audio_high_level_api.h:1452
@ AS_STATUS_CHANGED_STS_PLAYER
to Player
Definition: audio_high_level_api.h:1460
@ AS_STATUS_CHANGED_STS_BASEBAND
to BaseBand
Definition: audio_high_level_api.h:1456
@ AS_STATUS_CHANGED_STS_RECODER
to Recorder
Definition: audio_high_level_api.h:1464
@ AS_STATUS_CHANGED_STS_POWEROFF
to PowerOff
Definition: audio_high_level_api.h:1468
@ AS_MNG_STATUS_BASEBAND
Baseband.
Definition: audio_high_level_api.h:1355
@ AS_MNG_STATUS_RECOGNIZER
Recorder.
Definition: audio_high_level_api.h:1367
@ AS_MNG_STATUS_READY
Ready.
Definition: audio_high_level_api.h:1351
@ AS_MNG_STATUS_PLAYER
Player.
Definition: audio_high_level_api.h:1359
@ AS_MNG_STATUS_POWEROFF
PowerOff.
Definition: audio_high_level_api.h:1371
@ AS_MNG_STATUS_RECORDER
Recorder.
Definition: audio_high_level_api.h:1363
@ AS_MNG_STATUS_THROUGH
Through.
Definition: audio_high_level_api.h:1375
@ AS_ERR_CODE_TASK_CREATE
fail to create task
Definition: audio_high_level_api.h:1489
@ AS_ERR_CODE_OK
success
Definition: audio_high_level_api.h:1485
@ AS_ERR_CODE_ILLEGAL_STATE
illegal state
Definition: audio_high_level_api.h:1493
@ AS_BEEPEN_ENABLE
beep enable
Definition: audio_high_level_api.h:1524
@ AS_BEEPEN_DISABLE
beep disable
Definition: audio_high_level_api.h:1520
@ AS_OUT_I2S
Definition: audio_high_level_api.h:623
@ AS_OUT_OFF
Definition: audio_high_level_api.h:615
@ AS_OUT_SP
Definition: audio_high_level_api.h:619
@ AS_DISABLE_SOUNDEFFECT
Disable effect sound.
Definition: audio_high_level_api.h:820
@ AS_ENABLE_SOUNDEFFECT
Enable effect sound.
Definition: audio_high_level_api.h:826
@ AS_VOLUMEMUTE_MUTE
mute
Definition: audio_high_level_api.h:1510
@ AS_VOLUMEMUTE_HOLD
keep setting
Definition: audio_high_level_api.h:1502
@ AS_VOLUMEMUTE_UNMUTE
unmute
Definition: audio_high_level_api.h:1506
@ AS_VAD_STATUS_INSIDE_VOICE_SECTION
Inside voice section.
Definition: audio_high_level_api.h:1442
@ AS_VAD_STATUS_OUT_OF_VOICE_SECTION
Out of voice section.
Definition: audio_high_level_api.h:1438
@ AsMicFrontendDataToRecognizer
[in] Send audio data to Recognizer
Definition: audio_high_level_api.h:984
@ AsMicFrontendDataToRecorder
[in] Send audio data to Recorder
Definition: audio_high_level_api.h:979
@ AS_STARTSOUNDEFFECT_NORMAL
Play effect sound with limited data.
Definition: audio_high_level_api.h:836
@ AS_STARTSOUNDEFFECT_INFINITE
Play effect sound infinitely.
Definition: audio_high_level_api.h:840
#define AS_POSTPROC_FILE_PATH_LEN
Length of Recognizer dsp file name and path.
Definition: audio_outputmix_api.h:86
#define AS_RECOGNIZER_FILE_PATH_LEN
Length of Recognizer dsp file name and path.
Definition: audio_recognizer_api.h:93
Definition: audio_recorder_api.h:245
Definition: audio_high_level_api.h:953
Definition: audio_high_level_api.h:991
uint8_t preproc_type
[in] Select pre process enable
Definition: audio_high_level_api.h:1019
uint8_t data_dest
[in] Select Data path from MicFrontend
Definition: audio_high_level_api.h:1031
uint32_t out_fs
[in] Output Fs
Definition: audio_high_level_api.h:1012
uint16_t samples
[in] Samples per a frame
Definition: audio_high_level_api.h:1005
uint8_t ch_num
[in] Select InitMicFrontend input channels
Definition: audio_high_level_api.h:995
uint8_t bit_length
[in] Select InitMicFrontend input bit length
Definition: audio_high_level_api.h:1000
Definition: audio_high_level_api.h:923
uint8_t postproc_type
[in] Set postproc type. Use AsPostprocType enum type
Definition: audio_high_level_api.h:928
Definition: audio_outputmix_api.h:413
Definition: audio_frontend_api.h:295
Definition: audio_recognizer_api.h:261
Definition: audio_high_level_api.h:939
uint8_t player_id
[in] Handle of OutputMixer
Definition: audio_high_level_api.h:942
Definition: audio_common_defs.h:739
Definition: audio_high_level_api.h:963
Definition: audio_high_level_api.h:907
AsThroughPath path1
[in] path1
Definition: audio_high_level_api.h:910
AsThroughPath path2
[in] path2
Definition: audio_high_level_api.h:914
Definition: audio_high_level_api.h:880
uint8_t out
output path
Definition: audio_high_level_api.h:900
uint8_t in
input path
Definition: audio_high_level_api.h:893
bool en
Select direct path Enable/Disable.
Definition: audio_high_level_api.h:886
Definition: audio_high_level_api.h:493
uint8_t packet_length
[in] packet length
Definition: audio_high_level_api.h:508
uint8_t reserved
[in] reserved
Definition: audio_high_level_api.h:496
uint8_t command_code
[in] Command code
Definition: audio_high_level_api.h:504
uint8_t sub_code
[in] sub
Definition: audio_high_level_api.h:500
Definition: audio_high_level_api.h:1098
InitDNCParam init_dnc_param
[in] for InitDNCParam (header.command_code==AUDCMD_INITDNCPARAM)
Definition: audio_high_level_api.h:1270
AsInitMediaPlayerPost init_mpp_param
[in] for InitMPP (header.command_code==AUDCMD_INITMPP)
Definition: audio_high_level_api.h:1156
SetVolumeMuteParam set_volume_mute_param
[in] for SetVolumeMute (header.command_code==AUDCMD_SETVOLUMEMUTE)
Definition: audio_high_level_api.h:1289
AsInitMixerParam init_mixer_param
[in] for Init OutputMixer (header.command_code==AUDCMD_INIT_OUTPUTMIXER)
Definition: audio_high_level_api.h:1144
AudioCommandHeader header
[in] Command Header
Definition: audio_high_level_api.h:1101
AsInitPreProcParam init_preproc_param
[in] for InitPreProcessDSP (header.command_code==AUDCMD_INIT_PREPROCESS_DSP)
Definition: audio_high_level_api.h:1177
InitMicGainParam init_mic_gain_param
[in] for InitMicGain (header.command_code==AUDCMD_INITMICGAIN)
Definition: audio_high_level_api.h:1250
SetBeepParam set_beep_param
[in] for SetBeep (header.command_code==AUDCMD_SETBEEPPARAM)
Definition: audio_high_level_api.h:1295
InitOutputSelectParam init_output_select_param
[in] for InitOutputSelect (header.command_code==AUDCMD_INITOUTPUTSELECT)
Definition: audio_high_level_api.h:1263
AsPlayerClockRecovery clk_recovery_param
[in] for Adjust sound period (header.command_code==AUDCMD_CLKRECOVERY)
Definition: audio_high_level_api.h:1150
AsSetMediaPlayerPost set_mpp_param
[in] for SetMPPParam (header.command_code==AUDCMD_SETMPPPARAM)
Definition: audio_high_level_api.h:1162
PowerOnParam power_on_param
[in] for PowerOn (header.command_code==AUDCMD_POWERON)
Definition: audio_high_level_api.h:1301
AsSetPreProcParam set_preproc_param
[in] for SetPreProcessDSP (header.command_code==AUDCMD_SET_PREPROCESS_DSP)
Definition: audio_high_level_api.h:1183
SetVolumeParam set_volume_param
[in] for SetVolume (header.command_code==AUDCMD_SETVOLUME)
Definition: audio_high_level_api.h:1283
AsSetThroughPathParam set_through_path
[in] for SetThrouhgPath (header.command_code==AUDCMD_SETTHROUGHPATH)
Definition: audio_high_level_api.h:1307
SetMicMapParam set_mic_map_param
[in] for SetMicMap (header.command_code==AUDCMD_SETMICMAP)
Definition: audio_high_level_api.h:1244
SetRenderingClkParam set_renderingclk_param
[in] for SetRenderingClk (header.command_code==AUDCMD_SETRENDERINGCLK)
Definition: audio_high_level_api.h:1313
InitClearStereoParam init_clear_stereo_param
[in] for InitClearStereo (header.command_code==AUDCMD_INITCLEARSTEREO)
Definition: audio_high_level_api.h:1277
InitI2SParam init_i2s_param
[in] for InitI2SParam (header.command_code==AUDCMD_INITI2SPARAM)
Definition: audio_high_level_api.h:1257
InitSpDrvModeParam init_sp_drv_mode
[in] for InitSpDrvMode (header.command_code==AUDCMD_INITSPDRVMODE)
Definition: audio_high_level_api.h:1319
AsInitMicFrontEnd init_micfrontend_param
[in] for InitMicFrontend (header.command_code==AUDCMD_INIT_MICFRONTEND)
Definition: audio_high_level_api.h:1171
Definition: audio_high_level_api.h:1621
AudioResultHeader header
[out] Result Header
Definition: audio_high_level_api.h:1624
ErrorResponseParam error_response_param
[out] for ErrorResponse (header.result_code==AUDRLT_ERRORRESPONSE)
Definition: audio_high_level_api.h:1644
StatusChangedParam status_changed_param
[out] for StatusChanged (header.result_code==AUDRLT_STATUSCHANGED)
Definition: audio_high_level_api.h:1638
NotifyStatus notify_status
[out] for NotifyStatus (header.result_code==AUDRLT_NOTIFYSTATUS)
Definition: audio_high_level_api.h:1632
Definition: audio_high_level_api.h:1666
uint8_t player_sub
[in] MsgQueID of playerObject for Sound Effect
Definition: audio_high_level_api.h:1681
uint8_t micfrontend
[in] MsgQueID of FrontendObject
Definition: audio_high_level_api.h:1685
uint8_t mng
[in] MsgQueID of audio_manager
Definition: audio_high_level_api.h:1673
uint8_t mixer
[in] MsgQueID of mixerObject
Definition: audio_high_level_api.h:1693
uint8_t effector
[in] MsgQueID of effectorObject
Definition: audio_high_level_api.h:1697
uint8_t player_main
[in] MsgQueID of playerObject
Definition: audio_high_level_api.h:1677
uint8_t app
[in] MsgQueID of Application
Definition: audio_high_level_api.h:1669
uint8_t recognizer
[in] MsgQueID of recognizerObject
Definition: audio_high_level_api.h:1701
uint8_t recorder
[in] MsgQueID of recorderObject
Definition: audio_high_level_api.h:1689
Definition: audio_high_level_api.h:1585
uint32_t error_sub_code
[out] Detailed Error Infomation, T.B.D.
Definition: audio_high_level_api.h:1604
uint8_t module_id
[out] Error module infomation, T.B.D.
Definition: audio_high_level_api.h:1600
uint16_t reserved1
[out] reserved
Definition: audio_high_level_api.h:1592
uint8_t sub_module_id
[out] for debug purpose
Definition: audio_high_level_api.h:1596
uint32_t error_code
Error Infomation, T.B.D.
Definition: audio_high_level_api.h:1588
uint32_t reserved2
[out] reserved
Definition: audio_high_level_api.h:1608
Definition: audio_high_level_api.h:663
uint8_t cs_en
[in] Select ClearStereo Enable/Disable, 1:Enable, 0:Disable.
Definition: audio_high_level_api.h:666
int16_t cs_vol
[in] Set ClearStero Volume
Definition: audio_high_level_api.h:675
Definition: audio_high_level_api.h:650
uint8_t mode
[in] Select DNC mode
Definition: audio_high_level_api.h:656
Definition: audio_high_level_api.h:589
uint8_t i2s_id
[in] Select I2S ID Use AsI2sId enum type
Definition: audio_high_level_api.h:594
uint8_t bypass_mode_en
[in] Select I2S Bypass mode disable/enable
Definition: audio_high_level_api.h:601
uint32_t rate
[in] Set I2S input/output frequency
Definition: audio_high_level_api.h:606
Definition: audio_high_level_api.h:564
Definition: audio_high_level_api.h:627
uint8_t output_device_sel
[in] Select CXD5247 output devices
Definition: audio_high_level_api.h:633
Definition: audio_high_level_api.h:792
uint8_t mode
[in] set speaker driver mode
Definition: audio_high_level_api.h:798
Definition: audio_high_level_api.h:1531
uint8_t vad_status
VAD status.
Definition: audio_high_level_api.h:1537
uint8_t sub_status_info
[out] Current Sub Status
Definition: audio_high_level_api.h:1548
uint8_t status_info
[out] Current Status
Definition: audio_high_level_api.h:1555
uint8_t reserved
[out] reserved
Definition: audio_high_level_api.h:1541
Definition: audio_player_api.h:524
Definition: audio_high_level_api.h:762
uint8_t enable_sound_effect
[in] Enable or disable sound-effect playback function.
Definition: audio_high_level_api.h:768
Definition: audio_effector_api.h:484
Definition: audio_high_level_api.h:732
uint8_t beep_en
[in] Select BEEP Enable/Disable
Definition: audio_high_level_api.h:738
uint16_t beep_freq
[in] Set BEEP Frequency
Definition: audio_high_level_api.h:756
int16_t beep_vol
[in] Set BEEP Volume
Definition: audio_high_level_api.h:748
Definition: audio_high_level_api.h:535
Definition: audio_player_api.h:353
Definition: audio_high_level_api.h:777
uint8_t clk_mode
[in] set rendering clock
Definition: audio_high_level_api.h:783
Definition: audio_high_level_api.h:711
uint8_t master_mute
[in] Select Master Volume Mute/UnMute
Definition: audio_high_level_api.h:717
uint8_t input2_mute
[in] Set Input2 Volume Mute/UnMute
Definition: audio_high_level_api.h:725
uint8_t input1_mute
[in] Set Input1 Volume Mute/UnMute
Definition: audio_high_level_api.h:721
Definition: audio_high_level_api.h:681
int16_t input1_db
[in] Set Input1 Volume
Definition: audio_high_level_api.h:697
int16_t master_db
[in] Set Master Volume
Definition: audio_high_level_api.h:688
int16_t input2_db
[in] Set Input2 Volume
Definition: audio_high_level_api.h:705
Definition: audio_effector_api.h:402
Definition: audio_high_level_api.h:1561
uint8_t reserved1
reserved
Definition: audio_high_level_api.h:1571
uint8_t changed_status
[out] Changed status
Definition: audio_high_level_api.h:1567
uint8_t reserved2
reserved
Definition: audio_high_level_api.h:1575
uint8_t reserved3
reserved
Definition: audio_high_level_api.h:1579
Definition: audio_effector_api.h:451
Definition: audio_recorder_api.h:343