input_stream: rename struct to InputStream
This commit is contained in:
@@ -24,6 +24,7 @@
|
||||
#include <stdint.h>
|
||||
|
||||
struct Decoder;
|
||||
struct InputStream;
|
||||
|
||||
struct dsdlib_id {
|
||||
char value[4];
|
||||
@@ -33,19 +34,19 @@ bool
|
||||
dsdlib_id_equals(const struct dsdlib_id *id, const char *s);
|
||||
|
||||
bool
|
||||
dsdlib_read(Decoder *decoder, struct input_stream *is,
|
||||
dsdlib_read(Decoder *decoder, InputStream &is,
|
||||
void *data, size_t length);
|
||||
|
||||
bool
|
||||
dsdlib_skip_to(Decoder *decoder, struct input_stream *is,
|
||||
dsdlib_skip_to(Decoder *decoder, InputStream &is,
|
||||
int64_t offset);
|
||||
|
||||
bool
|
||||
dsdlib_skip(Decoder *decoder, struct input_stream *is,
|
||||
dsdlib_skip(Decoder *decoder, InputStream &is,
|
||||
int64_t delta);
|
||||
|
||||
void
|
||||
dsdlib_tag_id3(struct input_stream *is,
|
||||
dsdlib_tag_id3(InputStream &is,
|
||||
const struct tag_handler *handler,
|
||||
void *handler_ctx, int64_t tagoffset);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user