decoder/Client: new interface which wraps struct Decoder
Prepare for a Decoder API redesign based on an abstract class with virtual methods.
This commit is contained in:
@@ -51,8 +51,8 @@ struct FlacDecoder : public FlacInput {
|
||||
|
||||
Tag tag;
|
||||
|
||||
FlacDecoder(Decoder &_decoder, InputStream &_input_stream)
|
||||
:FlacInput(_input_stream, &_decoder) {}
|
||||
FlacDecoder(DecoderClient &_client, InputStream &_input_stream)
|
||||
:FlacInput(_input_stream, &_client) {}
|
||||
|
||||
/**
|
||||
* Wrapper for decoder_initialized().
|
||||
|
Reference in New Issue
Block a user