diff options
author | Max Kellermann <max@duempel.org> | 2013-10-23 22:08:59 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2013-10-23 23:12:02 +0200 |
commit | 93deb844996120b6326345d6d87e803142dd1968 (patch) | |
tree | d6c00669efffad1b15fc45e03158d6838a7e5827 /src/decoder/DsdLib.hxx | |
parent | c4d4011c63808a64ca20a4b03fd455a83c23cc33 (diff) | |
download | mpd-93deb844996120b6326345d6d87e803142dd1968.tar.gz mpd-93deb844996120b6326345d6d87e803142dd1968.tar.xz mpd-93deb844996120b6326345d6d87e803142dd1968.zip |
input_stream: rename struct to InputStream
Diffstat (limited to '')
-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); |