|
1 /* |
|
2 * Copyright (c) 2007-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: VOIP Audio Service |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #include <e32base.h> |
|
20 #include <voipilbcdecoderintfc.h> |
|
21 #include "VoIPILBCDecoderIntfcImpl.h" |
|
22 |
|
23 |
|
24 // --------------------------------------------------------------------------- |
|
25 // CVoIPILBCDecoderIntfc::~CVoIPILBCDecoderIntfc |
|
26 // --------------------------------------------------------------------------- |
|
27 // |
|
28 EXPORT_C CVoIPILBCDecoderIntfc::~CVoIPILBCDecoderIntfc() |
|
29 { |
|
30 } |
|
31 |
|
32 // --------------------------------------------------------------------------- |
|
33 // CVoIPILBCDecoderIntfc::CVoIPILBCDecoderIntfc |
|
34 // --------------------------------------------------------------------------- |
|
35 // |
|
36 CVoIPILBCDecoderIntfc::CVoIPILBCDecoderIntfc() |
|
37 { |
|
38 } |
|
39 |
|
40 // --------------------------------------------------------------------------- |
|
41 // CVoIPILBCDecoderIntfc::ConstructL |
|
42 // --------------------------------------------------------------------------- |
|
43 // |
|
44 void CVoIPILBCDecoderIntfc::ConstructL( |
|
45 CVoIPILBCDecoderIntfcImpl* aFormatIntfcImpl) |
|
46 { |
|
47 iFormatIntfcImpl = aFormatIntfcImpl; |
|
48 CVoIPFormatIntfc::ConstructL(iFormatIntfcImpl); |
|
49 } |
|
50 |
|
51 // --------------------------------------------------------------------------- |
|
52 // CVoIPILBCDecoderIntfc::SetMode |
|
53 // --------------------------------------------------------------------------- |
|
54 // |
|
55 EXPORT_C TInt CVoIPILBCDecoderIntfc::SetMode( |
|
56 CVoIPFormatIntfc::TILBCCodecMode aMode) |
|
57 { |
|
58 TInt err = iFormatIntfcImpl->SetMode(aMode); |
|
59 return err; |
|
60 } |
|
61 |
|
62 // --------------------------------------------------------------------------- |
|
63 // CVoIPILBCDecoderIntfc::GetMode |
|
64 // --------------------------------------------------------------------------- |
|
65 // |
|
66 EXPORT_C TInt CVoIPILBCDecoderIntfc::GetMode( |
|
67 CVoIPFormatIntfc::TILBCCodecMode& aMode) |
|
68 { |
|
69 TInt err = iFormatIntfcImpl->GetMode(aMode); |
|
70 return err; |
|
71 } |
|
72 |
|
73 // --------------------------------------------------------------------------- |
|
74 // CVoIPILBCDecoderIntfc::SetCNG |
|
75 // --------------------------------------------------------------------------- |
|
76 // |
|
77 EXPORT_C TInt CVoIPILBCDecoderIntfc::SetCNG(TBool aCng) |
|
78 { |
|
79 TInt err = iFormatIntfcImpl->SetCNG(aCng); |
|
80 return err; |
|
81 } |
|
82 |
|
83 // --------------------------------------------------------------------------- |
|
84 // CVoIPILBCDecoderIntfc::GetCNG |
|
85 // --------------------------------------------------------------------------- |
|
86 // |
|
87 EXPORT_C TInt CVoIPILBCDecoderIntfc::GetCNG(TBool& aCng) |
|
88 { |
|
89 TInt err = iFormatIntfcImpl->GetCNG(aCng); |
|
90 return err; |
|
91 } |
|
92 |
|
93 |
|
94 // End of file |