blob: d8f6ce3f922a1dea6ebf0255296d3a074679268a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
/* $Id: HBMp3Encoder.h,v 1.4 2003/08/25 20:41:51 titer Exp $ */
#ifndef HB_MP3_ENCODER_H
#define HB_MP3_ENCODER_H
#include "HBThread.h"
class HBAudioInfo;
class HBManager;
class HBBuffer;
class HBFifo;
class HBMp3Encoder : public HBThread
{
public:
HBMp3Encoder( HBManager * manager, HBAudioInfo * audioInfo );
private:
void DoWork();
bool GetSamples( uint32_t count );
HBManager * fManager;
HBAudioInfo * fAudioInfo;
HBBuffer * fRawBuffer;
uint32_t fPosInBuffer; /* in samples */
float * fLeftSamples;
float * fRightSamples;
};
#endif
|