|
1 /* |
|
2 * Copyright (c) 2002-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: Audio Stubs - |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef G711ENCODERINTFCCI_H |
|
20 #define G711ENCODERINTFCCI_H |
|
21 |
|
22 // INCLUDES |
|
23 #include <e32base.h> |
|
24 #include <G711EncoderIntfc.h> |
|
25 |
|
26 // CONSTANTS |
|
27 |
|
28 // MACROS |
|
29 |
|
30 // DATA TYPES |
|
31 |
|
32 // FUNCTION PROTOTYPES |
|
33 |
|
34 // FORWARD DECLARATIONS |
|
35 |
|
36 // CLASS DECLARATION |
|
37 |
|
38 /** |
|
39 * ?one_line_short_description. |
|
40 * ?other_description_lines |
|
41 * |
|
42 * @lib ?library |
|
43 * @since Series ?XX ?SeriesXX_version |
|
44 */ |
|
45 class CG711EncoderIntfcCI : public CG711EncoderIntfc |
|
46 { |
|
47 public: // Constructors and destructor |
|
48 |
|
49 /** |
|
50 * Two-phased constructor. |
|
51 */ |
|
52 IMPORT_C static CG711EncoderIntfcCI* NewL(); |
|
53 |
|
54 /** |
|
55 * Destructor. |
|
56 */ |
|
57 IMPORT_C virtual ~CG711EncoderIntfcCI(); |
|
58 |
|
59 public: // New functions |
|
60 |
|
61 public: // Functions from base classes |
|
62 |
|
63 /** |
|
64 * From ?base_class ?member_description. |
|
65 * @since Series ?XX ?SeriesXX_version |
|
66 * @param ?arg1 |
|
67 * @return |
|
68 */ |
|
69 IMPORT_C virtual TInt SetEncoderMode(TEncodeMode aEncodeMode); |
|
70 IMPORT_C virtual TInt SetVadMode(TBool aVadMode); |
|
71 IMPORT_C virtual TInt GetVadMode(TBool& aVadMode); |
|
72 |
|
73 protected: // New functions |
|
74 |
|
75 protected: // Functions from base classes |
|
76 |
|
77 private: |
|
78 |
|
79 /** |
|
80 * C++ default constructor. |
|
81 */ |
|
82 CG711EncoderIntfcCI(); |
|
83 |
|
84 /** |
|
85 * By default Symbian 2nd phase constructor is private. |
|
86 */ |
|
87 void ConstructL(); |
|
88 |
|
89 public: // Data |
|
90 protected: // Data |
|
91 private: // Data |
|
92 TBool iVadMode; |
|
93 public: // Friend classes |
|
94 protected: // Friend classes |
|
95 private: // Friend classes |
|
96 |
|
97 }; |
|
98 |
|
99 #endif // G711ENCODERINTFCCI_H |
|
100 |
|
101 // End of File |