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/OggSyncState.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 'src/decoder/OggSyncState.hxx')
-rw-r--r-- | src/decoder/OggSyncState.hxx | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/decoder/OggSyncState.hxx b/src/decoder/OggSyncState.hxx index c85b931bb..5235c1bd8 100644 --- a/src/decoder/OggSyncState.hxx +++ b/src/decoder/OggSyncState.hxx @@ -33,11 +33,11 @@ class OggSyncState { ogg_sync_state oy; - input_stream &is; + InputStream &is; Decoder *const decoder; public: - OggSyncState(input_stream &_is, Decoder *const _decoder=nullptr) + OggSyncState(InputStream &_is, Decoder *const _decoder=nullptr) :is(_is), decoder(_decoder) { ogg_sync_init(&oy); } @@ -51,27 +51,27 @@ public: } bool Feed(size_t size) { - return OggFeed(oy, decoder, &is, size); + return OggFeed(oy, decoder, is, size); } bool ExpectPage(ogg_page &page) { - return OggExpectPage(oy, page, decoder, &is); + return OggExpectPage(oy, page, decoder, is); } bool ExpectFirstPage(ogg_stream_state &os) { - return OggExpectFirstPage(oy, os, decoder, &is); + return OggExpectFirstPage(oy, os, decoder, is); } bool ExpectPageIn(ogg_stream_state &os) { - return OggExpectPageIn(oy, os, decoder, &is); + return OggExpectPageIn(oy, os, decoder, is); } bool ExpectPageSeek(ogg_page &page) { - return OggExpectPageSeek(oy, page, decoder, &is); + return OggExpectPageSeek(oy, page, decoder, is); } bool ExpectPageSeekIn(ogg_stream_state &os) { - return OggExpectPageSeekIn(oy, os, decoder, &is); + return OggExpectPageSeekIn(oy, os, decoder, is); } }; |