|
1 /* |
|
2 * Copyright (c) 2008 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of "Eclipse Public License v1.0" |
|
6 * which accompanies this distribution, and is available |
|
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: Defines APIs specific to G.711 decoder. |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef __VOIPG711DECFORMATINTFC_H |
|
20 #define __VOIPG711DECFORMATINTFC_H |
|
21 |
|
22 #include <voipaudiocommon.h> |
|
23 #include <voipformatintfc.h> |
|
24 |
|
25 |
|
26 // FORWARD DECLARATIONS |
|
27 class CVoIPG711DecoderIntfcImpl; |
|
28 |
|
29 |
|
30 /** |
|
31 * CVoIPG711DecoderIntfc class |
|
32 * |
|
33 * G.711 decoder configuration class |
|
34 * |
|
35 * @lib VoIPAudioIntfc.dll |
|
36 * @since S60 v5.0 |
|
37 */ |
|
38 class CVoIPG711DecoderIntfc : public CVoIPFormatIntfc |
|
39 { |
|
40 public: |
|
41 /** |
|
42 * Destructor |
|
43 * |
|
44 * @since S60 v5.0 |
|
45 * @param none |
|
46 * @return none |
|
47 */ |
|
48 IMPORT_C virtual ~CVoIPG711DecoderIntfc(); |
|
49 |
|
50 /** |
|
51 * ?description |
|
52 * |
|
53 * @since S60 v5.0 |
|
54 * @param TG711CodecMode |
|
55 * @return TInt |
|
56 */ |
|
57 IMPORT_C TInt SetMode(TG711CodecMode aMode); |
|
58 |
|
59 /** |
|
60 * ?description |
|
61 * |
|
62 * @since S60 v5.0 |
|
63 * @param TG711CodecMode& |
|
64 * @return TInt |
|
65 */ |
|
66 IMPORT_C TInt GetMode(TG711CodecMode& aMode); |
|
67 |
|
68 /** |
|
69 * ?description |
|
70 * |
|
71 * @since S60 v5.0 |
|
72 * @param TBool |
|
73 * @return TInt |
|
74 */ |
|
75 IMPORT_C TInt SetCNG(TBool aCng); |
|
76 |
|
77 /** |
|
78 * ?description |
|
79 * |
|
80 * @since S60 v5.0 |
|
81 * @param TBool& |
|
82 * @return TInt |
|
83 */ |
|
84 IMPORT_C TInt GetCNG(TBool& aCng); |
|
85 |
|
86 /** |
|
87 * ?description |
|
88 * |
|
89 * @since S60 v5.0 |
|
90 * @param TBool |
|
91 * @return TInt |
|
92 */ |
|
93 IMPORT_C TInt SetPLC(TBool aPlc); |
|
94 |
|
95 /** |
|
96 * ?description |
|
97 * |
|
98 * @since S60 v5.0 |
|
99 * @param TBool& |
|
100 * @return TInt |
|
101 */ |
|
102 IMPORT_C TInt GetPLC(TBool& aPlc); |
|
103 |
|
104 protected: |
|
105 /** |
|
106 * Constructor |
|
107 * |
|
108 * @since S60 v5.0 |
|
109 * @param none |
|
110 * @return none |
|
111 */ |
|
112 CVoIPG711DecoderIntfc(); |
|
113 |
|
114 /** |
|
115 * 2-nd phase constructor |
|
116 * |
|
117 * @since S60 v5.0 |
|
118 * @param CVoIPG711DecoderIntfcImpl* |
|
119 * @return void |
|
120 */ |
|
121 void ConstructL(CVoIPG711DecoderIntfcImpl* aFormatIntfcImpl); |
|
122 |
|
123 protected: |
|
124 CVoIPG711DecoderIntfcImpl* iFormatIntfcImpl; |
|
125 |
|
126 }; |
|
127 |
|
128 |
|
129 #endif //__VOIPG711DECFORMATINTFC_H |
|
130 |
|
131 // End of file |