blob: 98ebc9f3d7cf17488972ddfbb2f9393f6b30945b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
#ifndef LAME_ENCODER_H
#define LAME_ENCODER_H
#include "encoder.h"
#include <lame/lame.h>
class EncoderLame : public EncoderBase {
private:
lame_global_flags *gfp;
size_t encode(const uint8_t *input, size_t input_size, uint8_t *output, size_t output_size);
size_t flush(uint8_t *output, size_t output_size);
protected:
virtual size_t encode(ReadFunc read, uint8_t *output, size_t output_size);
public:
EncoderLame();
~EncoderLame();
};
#endif
|