blob: edd2108fa26889c79f5e353f55411f062e10a20e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
#ifndef DECODER_MPG123_H
#define DECODER_MPG123_H
#include "decoder.h"
#include <mpg123.h>
class DecoderMpg123 : public Decoder {
private:
mpg123_handle *handle;
public:
DecoderMpg123(const std::string& filename);
~DecoderMpg123();
virtual std::size_t read(char* buf, std::size_t buf_size);
};
#endif
|