Commit 657d6edf authored by Max Kellermann's avatar Max Kellermann

decoder/flac: add FlacInput getter methods

parent 737c5a95
......@@ -39,6 +39,14 @@ public:
Decoder *_decoder=nullptr)
:decoder(_decoder), input_stream(_input_stream) {}
Decoder *GetDecoder() {
return decoder;
}
InputStream &GetInputStream() {
return input_stream;
}
protected:
FLAC__StreamDecoderReadStatus Read(FLAC__byte buffer[], size_t *bytes);
FLAC__StreamDecoderSeekStatus Seek(FLAC__uint64 absolute_byte_offset);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment