blob: 02e3852245ca2d8589d6e1aed2124e972728ebb5 (
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.3 2003/08/23 19:22:59 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
|