summaryrefslogtreecommitdiff
path: root/encoders/lame_encoder.h
blob: 184336165e0db58e0a46ae1eb394cf1396a73357 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#ifndef LAME_ENCODER_H
#define LAME_ENCODER_H

#include "encoder.h"

#include <lame/lame.h>

class EncoderLame : public EncoderBase {
	private:
		lame_global_flags *gfp;

	public:
		EncoderLame();
		~EncoderLame();
		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);
};

#endif