4
0
mirror of https://github.com/RT-Thread/rt-thread.git synced 2025-02-21 05:27:10 +08:00

Merge pull request #4055 from DavidLin1577/patch-18

[components/drivers]fixed re-include '.h' file of audio
This commit is contained in:
Bernard Xiong 2020-12-05 14:56:52 +08:00 committed by GitHub
commit 497806c883
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 2 additions and 8 deletions

View File

@ -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;
}

View File

@ -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)

View File

@ -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__ */