summaryrefslogtreecommitdiff
path: root/decoders/mpg123_decoder.h
blob: 46f9e4c41653216cb8eced75b7f89b2e7eb544ad (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#ifndef DECODER_MPG123_H
#define DECODER_MPG123_H

#include "decoder.h"

#include <mpg123.h>

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