|
1 /* |
|
2 * Copyright (c) 2002-2004 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 |
|
20 // INCLUDE FILES |
|
21 #include "G729EncoderIntfcCI.h" |
|
22 #include <e32debug.h> |
|
23 |
|
24 // EXTERNAL DATA STRUCTURES |
|
25 |
|
26 // EXTERNAL FUNCTION PROTOTYPES |
|
27 |
|
28 // CONSTANTS |
|
29 |
|
30 // MACROS |
|
31 |
|
32 // LOCAL CONSTANTS AND MACROS |
|
33 |
|
34 // MODULE DATA STRUCTURES |
|
35 |
|
36 // LOCAL FUNCTION PROTOTYPES |
|
37 |
|
38 // FORWARD DECLARATIONS |
|
39 |
|
40 // ============================= LOCAL FUNCTIONS =============================== |
|
41 |
|
42 // ============================ MEMBER FUNCTIONS =============================== |
|
43 |
|
44 // ----------------------------------------------------------------------------- |
|
45 // CG729EncoderIntfcCI::CG729EncoderIntfcCI |
|
46 // C++ default constructor can NOT contain any code, that |
|
47 // might leave. |
|
48 // ----------------------------------------------------------------------------- |
|
49 // |
|
50 CG729EncoderIntfcCI::CG729EncoderIntfcCI() |
|
51 { |
|
52 |
|
53 } |
|
54 |
|
55 // ----------------------------------------------------------------------------- |
|
56 // CG729EncoderIntfcCI::ConstructL |
|
57 // Symbian 2nd phase constructor can leave. |
|
58 // ----------------------------------------------------------------------------- |
|
59 // |
|
60 void CG729EncoderIntfcCI::ConstructL() |
|
61 { |
|
62 |
|
63 } |
|
64 |
|
65 // ----------------------------------------------------------------------------- |
|
66 // CG729EncoderIntfcCI::NewL |
|
67 // Two-phased constructor. |
|
68 // ----------------------------------------------------------------------------- |
|
69 // |
|
70 EXPORT_C CG729EncoderIntfcCI* CG729EncoderIntfcCI::NewL() |
|
71 { |
|
72 CG729EncoderIntfcCI* self = new (ELeave)CG729EncoderIntfcCI; |
|
73 CleanupStack::PushL(self); |
|
74 self->ConstructL(); |
|
75 CleanupStack::Pop(self); |
|
76 return self; |
|
77 } |
|
78 |
|
79 // Destructor |
|
80 EXPORT_C CG729EncoderIntfcCI::~CG729EncoderIntfcCI() |
|
81 { |
|
82 |
|
83 } |
|
84 |
|
85 |
|
86 EXPORT_C TInt CG729EncoderIntfcCI::SetVadMode(TBool aVadMode) |
|
87 { |
|
88 iVadMode = aVadMode; |
|
89 RDebug::Print(_L("CG729EncoderIntfcCI::SetVadMode VAD mode[%d]"), iVadMode); |
|
90 return KErrNone; |
|
91 } |
|
92 |
|
93 EXPORT_C TInt CG729EncoderIntfcCI::GetVadMode(TBool& aVadMode) |
|
94 { |
|
95 aVadMode = iVadMode; |
|
96 RDebug::Print(_L("CG729EncoderIntfcCI::GetVadMode VAD mode[%d]"), aVadMode); |
|
97 return KErrNone; |
|
98 } |