未验证 提交 497806c8 编写于 作者: B Bernard Xiong 提交者: GitHub

Merge pull request #4055 from DavidLin1577/patch-18

[components/drivers]fixed re-include '.h' file of audio
......@@ -12,7 +12,6 @@
#include <stdio.h>
#include <string.h>
#include <rthw.h>
#include <rtthread.h>
#include <rtdevice.h>
#define DBG_TAG "audio"
......@@ -590,7 +589,6 @@ int rt_audio_samplerate_to_speed(rt_uint32_t bitValue)
speed = 192000;
break;
default:
break;
}
......
......@@ -9,9 +9,6 @@
*/
#include <rthw.h>
#include <rtthread.h>
#include <rtdevice.h>
#include "audio_pipe.h"
static void _rt_pipe_resume_writer(struct rt_audio_pipe *pipe)
......
......@@ -12,7 +12,6 @@
/**
* Pipe Device
*/
#include <rtthread.h>
#include <rtdevice.h>
#ifndef RT_PIPE_BUFSZ
......@@ -71,6 +70,6 @@ rt_err_t rt_audio_pipe_detach(struct rt_audio_pipe *pipe);
#ifdef RT_USING_HEAP
rt_err_t rt_audio_pipe_create(const char *name, rt_int32_t flag, rt_size_t size);
void rt_audio_pipe_destroy(struct rt_audio_pipe *pipe);
#endif
#endif
#endif /* RT_USING_HEAP */
#endif /* __AUDIO_PIPE_H__ */
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册