blob: 717e33790417d188cedc3eb3129b76e596f6aa3c (
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>
// needed for uint8_t
#include <boost/cstdint.hpp>
class EncoderLame : public Encoder {
private:
lame_global_flags *gfp;
RawAudioSource::p source;
public:
EncoderLame(RawAudioSource::p source_);
~EncoderLame();
virtual std::size_t read(char* buf, std::size_t buf_size);
virtual std::string get_mime_type();
};
#endif
|