11 #ifndef _GET_PLAY_DATA_H_ 12 #define _GET_PLAY_DATA_H_ 19 #define GET_PLAY_DATA_QUEUE_COUNT (1) 21 #define GET_PLAY_DATA_BUFF_COUNT (2) 23 #define GET_PLAY_DATA_BUFF_SIZE (576U) 55 extern int32_t
receive_data(uint32_t *addr,uint32_t *size,uint32_t *flag);
63 #if AUDIO_PLAY_USE_NET 64 extern uint32_t get_net_download_offset(
void);
Definition: get_play_data.h:42
int32_t continue_read_data(void)
请求获取被打断的数据
Definition: get_play_data.c:1857
Definition: get_play_data.h:44
get_play_data_state_t get_data_task_state(void)
返回本模块任务状态
Definition: get_play_data.c:1366
int32_t get_outside_data(uint32_t offset)
Definition: get_play_data.h:33
int32_t receive_data(uint32_t *addr, uint32_t *size, uint32_t *flag)
接收数据buf地址
Definition: get_play_data.c:1281
int32_t get_net_data(const char *url, uint32_t offset)
get_play_data_state_t
数据获取task状态机
Definition: get_play_data.h:40
Definition: get_play_data.h:31
uint32_t offset
Definition: flash_update.c:82
int32_t get_sd_data(const char *dir, const char *name, uint32_t offset)
void finsh_read_data(void)
释放数据buf
Definition: get_play_data.c:1307
int32_t continue_data_valid(void)
历史数据有效性检查
Definition: get_play_data.c:1348
Definition: get_play_data.h:45
Definition: get_play_data.h:32
int32_t pause_read_data(void)
请求暂停数据并保存记录
Definition: get_play_data.c:1323
void task_get_play_data_init(void)
获取audio数据任务预初始化
Definition: get_play_data.c:1607
int32_t get_outside_v2_data(uint32_t offset)
Definition: get_play_data.h:43
void task_get_play_data(void *pvParameters)
获取播放数据任务
Definition: get_play_data.c:564
int32_t get_flash_data(uint32_t addr, uint32_t num)
请求获取flash音频数据
Definition: get_play_data.c:1644
int32_t get_pause_read_data_offset(void)
uint32_t get_curr_offset(void)
返回播放offset
Definition: get_play_data.c:1390