KT25-0812_82A-UART/apps/common/audio/stream/stream_entry.h

20 lines
529 B
C
Raw Permalink Normal View History

2025-08-12 10:09:23 +00:00
#ifndef __STREAM_ENTRY_H__
#define __STREAM_ENTRY_H__
#include "system/includes.h"
#include "media/includes.h"
// struct __stream_entry;
struct __stream_entry {
void *data_priv;
int (*data_callback)(void *priv, s16 *data, u16 len);
struct audio_stream_entry entry;
};
struct __stream_entry *stream_entry_open(void *priv, int (*data_callback)(void *priv, s16 *data, u16 len));
void stream_entry_close(struct __stream_entry **hdl);
void stream_entry_resume(struct __stream_entry *hdl);
#endif// __STREAM_ENTRY_H__