1 /* 2 * Copyright (C) 2015-2017 Alibaba Group Holding Limited 3 */ 4 5 #ifndef PB_TASK_H 6 #define PB_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 playback_task_start(); 17 void playback_task_stop(); 18 int playback_push_data(void *dev, const char *buf, unsigned int len, int blockMode); 19 int playback_task_drain(); 20 21 #ifdef __cplusplus 22 } 23 #endif 24 25 #endif /* PB_TASK_H */