在逗猫棒的基础上实现蓝牙转USB功能,目前功能已经实现,还需裁剪掉之前逗猫棒的业务程序

This commit is contained in:
2026-07-24 11:41:08 +08:00
commit b3f06697a6
1569 changed files with 515355 additions and 0 deletions
+20
View File
@@ -0,0 +1,20 @@
#ifndef __STREAM_ENTRY_H__
#define __STREAM_ENTRY_H__
#include "system/includes.h"
#include "media/includes.h"
// struct __stream_entry;
struct __stream_entry {
u8 is_end;
void *data_priv;
int (*data_callback)(void *priv, struct audio_data_frame *in);
struct audio_stream_entry entry;
};
struct __stream_entry *stream_entry_open(void *priv, int (*data_callback)(void *priv, struct audio_data_frame *in), u8 is_end);
void stream_entry_close(struct __stream_entry **hdl);
void stream_entry_resume(struct __stream_entry *hdl);
#endif// __STREAM_ENTRY_H__