From 6b7c665baaf6023ee1cd935a953711fe65fff73b Mon Sep 17 00:00:00 2001 From: Jon Bergli Heier Date: Tue, 28 Dec 2010 02:20:11 +0100 Subject: Added mpg123 decoder. --- decoders/mpg123_decoder.h | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 decoders/mpg123_decoder.h (limited to 'decoders/mpg123_decoder.h') diff --git a/decoders/mpg123_decoder.h b/decoders/mpg123_decoder.h new file mode 100644 index 0000000..46f9e4c --- /dev/null +++ b/decoders/mpg123_decoder.h @@ -0,0 +1,18 @@ +#ifndef DECODER_MPG123_H +#define DECODER_MPG123_H + +#include "decoder.h" + +#include + +class DecoderMpg123 : public DecoderBase { + private: + mpg123_handle *handle; + + public: + DecoderMpg123(); + ~DecoderMpg123(); + size_t decode(const uint8_t *input, size_t input_size, uint8_t *output, size_t output_size); +}; + +#endif -- cgit v1.2.3