[audio]update audio/audio_pipe.h

This commit is contained in:
tangyuxin 2017-11-13 17:11:02 +08:00
parent 21cf0919b4
commit 6127313514
1 changed files with 5 additions and 2 deletions

View File

@ -59,7 +59,10 @@ rt_err_t rt_audio_pipe_init(struct rt_audio_pipe *pipe,
enum rt_audio_pipe_flag flag,
rt_uint8_t *buf,
rt_size_t size);
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, enum rt_audio_pipe_flag flag, rt_size_t size);
void rt_audio_pipe_destroy(struct rt_audio_pipe *pipe);
#endif
#endif