summaryrefslogtreecommitdiff
path: root/decoders/mpg123_decoder.h
diff options
context:
space:
mode:
Diffstat (limited to 'decoders/mpg123_decoder.h')
-rw-r--r--decoders/mpg123_decoder.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/decoders/mpg123_decoder.h b/decoders/mpg123_decoder.h
index 46f9e4c..5a637af 100644
--- a/decoders/mpg123_decoder.h
+++ b/decoders/mpg123_decoder.h
@@ -8,11 +8,15 @@
class DecoderMpg123 : public DecoderBase {
private:
mpg123_handle *handle;
-
+
+ size_t decode(const uint8_t *input, size_t input_size, uint8_t *output, size_t output_size);
+
+ protected:
+ virtual size_t decode(ReadFunc read, uint8_t *output, size_t output_size);
+
public:
DecoderMpg123();
~DecoderMpg123();
- size_t decode(const uint8_t *input, size_t input_size, uint8_t *output, size_t output_size);
};
#endif