diff options
Diffstat (limited to 'src/decoder/DsdLib.hxx')
-rw-r--r-- | src/decoder/DsdLib.hxx | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/decoder/DsdLib.hxx b/src/decoder/DsdLib.hxx index 261273091..3e21bffb0 100644 --- a/src/decoder/DsdLib.hxx +++ b/src/decoder/DsdLib.hxx @@ -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); |