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 "ErrorConcealmentIntfcCI.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 // CErrorConcealmentIntfcCI::CErrorConcealmentIntfcCI |
|
46 // C++ default constructor can NOT contain any code, that |
|
47 // might leave. |
|
48 // ----------------------------------------------------------------------------- |
|
49 // |
|
50 CErrorConcealmentIntfcCI::CErrorConcealmentIntfcCI() |
|
51 { |
|
52 |
|
53 } |
|
54 |
|
55 // ----------------------------------------------------------------------------- |
|
56 // CErrorConcealmentIntfcCI::ConstructL |
|
57 // Symbian 2nd phase constructor can leave. |
|
58 // ----------------------------------------------------------------------------- |
|
59 // |
|
60 void CErrorConcealmentIntfcCI::ConstructL() |
|
61 { |
|
62 |
|
63 } |
|
64 |
|
65 // ----------------------------------------------------------------------------- |
|
66 // CErrorConcealmentIntfcCI::NewL |
|
67 // Two-phased constructor. |
|
68 // ----------------------------------------------------------------------------- |
|
69 // |
|
70 EXPORT_C CErrorConcealmentIntfcCI* CErrorConcealmentIntfcCI::NewL() |
|
71 { |
|
72 CErrorConcealmentIntfcCI* self = new (ELeave)CErrorConcealmentIntfcCI; |
|
73 CleanupStack::PushL(self); |
|
74 self->ConstructL(); |
|
75 CleanupStack::Pop(self); |
|
76 return self; |
|
77 } |
|
78 |
|
79 // Destructor |
|
80 EXPORT_C CErrorConcealmentIntfcCI::~CErrorConcealmentIntfcCI() |
|
81 { |
|
82 |
|
83 } |
|
84 |
|
85 // ----------------------------------------------------------------------------- |
|
86 // CErrorConcealmentIntfcCI::ConcealErrorForNextBuffer |
|
87 // ?implementation_description |
|
88 // (other items were commented in a header). |
|
89 // ----------------------------------------------------------------------------- |
|
90 // |
|
91 EXPORT_C TInt CErrorConcealmentIntfcCI::ConcealErrorForNextBuffer() |
|
92 { |
|
93 RDebug::Print(_L("CErrorConcealmentIntfcCI::ConcealErrorForNextBuffer")); |
|
94 return KErrNone; |
|
95 } |
|
96 |
|
97 // ----------------------------------------------------------------------------- |
|
98 // CErrorConcealmentIntfcCI::SetFrameMode |
|
99 // ?implementation_description |
|
100 // (other items were commented in a header). |
|
101 // ----------------------------------------------------------------------------- |
|
102 // |
|
103 EXPORT_C TInt CErrorConcealmentIntfcCI::SetFrameMode(TBool aFrameMode) |
|
104 { |
|
105 TBool myFrameMode = aFrameMode; |
|
106 RDebug::Print(_L("CErrorConcealmentIntfcCI::SetFrameMode frameMode[%d]"), myFrameMode); |
|
107 return KErrNone; |
|
108 } |
|
109 |
|
110 // ----------------------------------------------------------------------------- |
|
111 // CErrorConcealmentIntfcCI::FrameModeRqrdForEC |
|
112 // ?implementation_description |
|
113 // (other items were commented in a header). |
|
114 // ----------------------------------------------------------------------------- |
|
115 // |
|
116 EXPORT_C TInt CErrorConcealmentIntfcCI::FrameModeRqrdForEC(TBool& aFrameModeRqrd) |
|
117 { |
|
118 iFrameModeRqrd = !iFrameModeRqrd; |
|
119 aFrameModeRqrd = iFrameModeRqrd; |
|
120 RDebug::Print(_L("CErrorConcealmentIntfcCI::FrameModeRqrdForEC frameModeRqrd[%d]"), aFrameModeRqrd); |
|
121 return KErrNone; |
|
122 } |
|