blob: 2b1fc2662a20b9c1aa12369d6a886f8417dd6ade (
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
31
32
33
34
35
36
37
38
39
40
41
|
/*
* Oreka -- A media capture and retrieval platform
*
* Copyright (C) 2005, orecx LLC
*
* http://www.orecx.com
*
* This program is free software, distributed under the terms of
* the GNU General Public License.
* Please refer to http://www.gnu.org/copyleft/gpl.html
*
*/
#ifndef __G722DECODER_H__
#define __G722DECODER_H__ 1
#include "LogManager.h"
#include "Filter.h"
#include "G722.h"
class DLL_IMPORT_EXPORT_ORKBASE G722Decoder : public Filter
{
public:
G722Decoder();
~G722Decoder();
FilterRef __CDECL__ Instanciate();
void __CDECL__ AudioChunkIn(AudioChunkRef& chunk);
void __CDECL__ AudioChunkOut(AudioChunkRef& chunk);
AudioEncodingEnum __CDECL__ GetInputAudioEncoding();
AudioEncodingEnum __CDECL__ GetOutputAudioEncoding();
CStdString __CDECL__ GetName();
int __CDECL__ GetInputRtpPayloadType();
void __CDECL__ CaptureEventIn(CaptureEventRef& event);
void __CDECL__ CaptureEventOut(CaptureEventRef& event);
private:
AudioChunkRef m_outputAudioChunk;
g722_decode_state_t m_ctx;
};
#endif
|