blob: 75e7553daffdcd2a16377b8a6f55f9eee11e15e7 (
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
|
/* $Id: HBAc3Decoder.h,v 1.5 2003/08/24 15:03:41 titer Exp $ */
#ifndef HB_AC3_DECODER_H
#define HB_AC3_DECODER_H
#include "HBThread.h"
class HBAudioInfo;
class HBBuffer;
class HBManager;
class HBAc3Decoder : public HBThread
{
public:
HBAc3Decoder( HBManager * manager, HBAudioInfo * audioInfo );
private:
void DoWork();
bool GetBytes( uint32_t size );
void PushSilence();
HBManager * fManager;
HBAudioInfo * fAudioInfo;
HBBuffer * fAc3Buffer;
HBBuffer * fAc3Frame;
uint32_t fPosInAc3Buffer;
};
#endif
|