CXD5602 Audio Mic Frontend API. More...
#include <stdint.h>
#include <stdbool.h>
#include "audio/audio_common_defs.h"
#include "audio/audio_object_common_api.h"
#include "memutils/simple_fifo/CMN_SimpleFifo.h"
Go to the source code of this file.
Classes | |
struct | AsActivateFrontendParam |
struct | AsActivateMicFrontend |
struct | AsDeactivateMicFrontendParam |
union | AsDataDest |
struct | AsDataDest::__st_tunnel |
struct | AsInitMicFrontendParam |
struct | AsStartMicFrontendParam |
struct | AsStopMicFrontendParam |
struct | AsInitPreProcParam |
struct | AsMicFrontendMicGainParam |
struct | MicFrontendCommandHeader |
struct | MicFrontendCommand |
struct | AsMicFrontendMsgQueId_t |
struct | AsMicFrontendPoolId_t |
struct | AsMicFrontendPoolId_old_t |
struct | AsCreateMicFrontendParam_t |
struct | AsCreateMicFrontendParams_t |
Macros | |
#define | AS_FEATURE_FRONTEND_ENABLE |
#define | AS_PREPROCESS_FILE_PATH_LEN 22 |
Length of Recognizer dsp file name and path. | |
Packet length of command | |
#define | LENGTH_INIT_MICFRONTEND 4 |
Init Mic Frontend command (AUDCMD_INIT_MICFRONTEND) packet length. | |
#define | LENGTH_INIT_PREPROCESS_DSP 4 |
InitPreProcessDSP command (#AUDCMD_INIT_PREPROCESS) packet length. | |
#define | LENGTH_SET_PREPROCESS_DSP 4 |
SetPreProcessDSP command (AUDCMD_SET_PREPROCESS_DSP) packet length. | |
Typedefs | |
typedef bool(* | MicFrontendCallback) (AsMicFrontendEvent evtype, uint32_t result, uint32_t sub_result) |
typedef void(* | FrontendDoneCallback) (AsPcmDataParam param) |
typedef struct AsInitPreProcParam | AsSetPreProcParam |
Enumerations | |
enum | AsMicFrontendEvent { AsMicFrontendEventAct = 0 , AsMicFrontendEventDeact , AsMicFrontendEventInit , AsMicFrontendEventStart , AsMicFrontendEventStop , AsMicFrontendEventInitPreProc , AsMicFrontendEventSetPreProc , AsMicFrontendEventSetMicGain } |
enum | AsMicFrontendInputDevice { AsMicFrontendDeviceMic = 0 , AsMicFrontendDeviceI2S } |
enum | AsMicFrontendPreProcType { AsMicFrontendPreProcThrough = 0 , AsMicFrontendPreProcSrc , AsMicFrontendPreProcUserCustom , AsMicFrontendPreProcInvalid = 0xff } |
enum | AsMicFrontendDataPath { AsDataPathCallback = 0 , AsDataPathMessage , AsDataPathSimpleFIFO } |
CXD5602 Audio Mic Frontend API.