decoder/flac: add FlacInput getter methods
This commit is contained in:
parent
737c5a9549
commit
657d6edff7
@ -39,6 +39,14 @@ public:
|
|||||||
Decoder *_decoder=nullptr)
|
Decoder *_decoder=nullptr)
|
||||||
:decoder(_decoder), input_stream(_input_stream) {}
|
:decoder(_decoder), input_stream(_input_stream) {}
|
||||||
|
|
||||||
|
Decoder *GetDecoder() {
|
||||||
|
return decoder;
|
||||||
|
}
|
||||||
|
|
||||||
|
InputStream &GetInputStream() {
|
||||||
|
return input_stream;
|
||||||
|
}
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
FLAC__StreamDecoderReadStatus Read(FLAC__byte buffer[], size_t *bytes);
|
FLAC__StreamDecoderReadStatus Read(FLAC__byte buffer[], size_t *bytes);
|
||||||
FLAC__StreamDecoderSeekStatus Seek(FLAC__uint64 absolute_byte_offset);
|
FLAC__StreamDecoderSeekStatus Seek(FLAC__uint64 absolute_byte_offset);
|
||||||
|
Loading…
Reference in New Issue
Block a user