1 /* 2 * Copyright (C) 2015-2017 Alibaba Group Holding Limited 3 */ 4 5 #ifndef CAP_TASK_H 6 #define CAP_TASK_H 7 8 #include <stdio.h> 9 #include <stdbool.h> 10 #include "audio_drv.h" 11 12 #ifdef __cplusplus 13 extern "C" { 14 #endif 15 16 void capture_task_start(void *dev); 17 void capture_task_stop(); 18 int capture_read_data(void *dev, char *buf, unsigned int len, int blockMode); 19 20 #ifdef __cplusplus 21 } 22 #endif 23 24 #endif /* PB_TASK_H */