结构体 | |
struct | uvoice_event_t |
宏定义 | |
#define | UVOICE_EV_PLAYER 0x0111 |
#define | UVOICE_CODE_PLAYER_STATE 1 |
#define | UVOICE_CODE_PALYER_CACHE_CPLT 2 |
#define | UVOICE_CODE_PALYER_DLOAD_CPLT 3 |
#define | UVOICE_EV_RECORDER 0x0112 |
#define | UVOICE_CODE_RECORDER_STATE 1 |
#define | UVOICE_EV_SW 0x0113 |
#define | UVOICE_CODE_HEADPHONE 1 |
#define | UVOICE_CODE_HEADSET 2 |
#define | UVOICE_EV_ST 0x0114 |
#define | UVOICE_CODE_VAD_START 1 |
#define | UVOICE_CODE_VAD_END 2 |
#define | UVOICE_CODE_VOICE_WAKEUP 3 |
#define | UVOICE_EV_ASR_RESULT 0x0115 |
类型定义 | |
typedef void(* | uvoice_event_cb) (uvoice_event_t *event, void *data) |
函数 | |
int | uvoice_event_post (uint16_t type, uint16_t code, int value) |
int | uvoice_event_register (uint16_t type, uvoice_event_cb cb, void *data) |
int | uvoice_event_unregister (uint16_t type, uvoice_event_cb cb, void *data) |
#define UVOICE_CODE_HEADPHONE 1 |
在文件 uvoice_event.h 第 22 行定义.
#define UVOICE_CODE_HEADSET 2 |
在文件 uvoice_event.h 第 23 行定义.
#define UVOICE_CODE_PALYER_CACHE_CPLT 2 |
在文件 uvoice_event.h 第 15 行定义.
#define UVOICE_CODE_PALYER_DLOAD_CPLT 3 |
在文件 uvoice_event.h 第 16 行定义.
#define UVOICE_CODE_PLAYER_STATE 1 |
在文件 uvoice_event.h 第 14 行定义.
#define UVOICE_CODE_RECORDER_STATE 1 |
在文件 uvoice_event.h 第 19 行定义.
#define UVOICE_CODE_VAD_END 2 |
在文件 uvoice_event.h 第 27 行定义.
#define UVOICE_CODE_VAD_START 1 |
在文件 uvoice_event.h 第 26 行定义.
#define UVOICE_CODE_VOICE_WAKEUP 3 |
在文件 uvoice_event.h 第 28 行定义.
#define UVOICE_EV_ASR_RESULT 0x0115 |
在文件 uvoice_event.h 第 30 行定义.
#define UVOICE_EV_PLAYER 0x0111 |
在文件 uvoice_event.h 第 13 行定义.
#define UVOICE_EV_RECORDER 0x0112 |
在文件 uvoice_event.h 第 18 行定义.
#define UVOICE_EV_ST 0x0114 |
在文件 uvoice_event.h 第 25 行定义.
#define UVOICE_EV_SW 0x0113 |
在文件 uvoice_event.h 第 21 行定义.
typedef void(* uvoice_event_cb) (uvoice_event_t *event, void *data) |
在文件 uvoice_event.h 第 39 行定义.
int uvoice_event_post | ( | uint16_t | type, |
uint16_t | code, | ||
int | value | ||
) |
int uvoice_event_register | ( | uint16_t | type, |
uvoice_event_cb | cb, | ||
void * | data | ||
) |
int uvoice_event_unregister | ( | uint16_t | type, |
uvoice_event_cb | cb, | ||
void * | data | ||
) |