结构体 | |
struct | uvoice_recorder_t |
录音接口 更多... | |
枚举 | |
enum | recorder_state_t { RECORDER_STAT_IDLE = 0 , RECORDER_STAT_READY , RECORDER_STAT_RUNNING , RECORDER_STAT_STOP , RECORDER_STAT_ERROR } |
录音状态 更多... | |
函数 | |
uvoice_recorder_t * | uvoice_recorder_create (void) |
int | uvoice_recorder_release (uvoice_recorder_t *mrecorder) |
enum recorder_state_t |
录音状态
枚举值 | |
---|---|
RECORDER_STAT_IDLE | |
RECORDER_STAT_READY | |
RECORDER_STAT_RUNNING | |
RECORDER_STAT_STOP | |
RECORDER_STAT_ERROR |
在文件 uvoice_recorder.h 第 17 行定义.
uvoice_recorder_t* uvoice_recorder_create | ( | void | ) |
创建录音handler
@retrun 成功返回非NULL指针,失败返回NULL.
int uvoice_recorder_release | ( | uvoice_recorder_t * | mrecorder | ) |
释放录音handler
[in] | mrecorder | 创建录音handler时返回的指针. |