equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2005-2009 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: |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 #ifndef G711HWDDEVICE |
|
21 #define G711HWDDEVICE |
|
22 |
|
23 //User includes |
|
24 #include "datawrapperbase.h" |
|
25 |
|
26 //Epoc includes |
|
27 #include <g711decoderintfc.h>//CG711DecoderIntfc |
|
28 #include <g711encoderintfc.h>//CG711EncoderIntfc |
|
29 |
|
30 |
|
31 |
|
32 class CT_CG711DecoderIntfcData : public CDataWrapperBase |
|
33 { |
|
34 protected: |
|
35 void DestroyData(); |
|
36 void DoCmdNewL(); |
|
37 void DoCmdDestructor(); |
|
38 void DoCmdSet(const TTEFSectionName& aSection); |
|
39 |
|
40 public: |
|
41 ~CT_CG711DecoderIntfcData(); |
|
42 static CT_CG711DecoderIntfcData* NewL(); |
|
43 virtual TAny* GetObject(); |
|
44 virtual TBool DoCommandL(const TTEFFunction& aCommand, const TTEFSectionName& aSection, const TInt aAsyncErrorIndex); |
|
45 CT_CG711DecoderIntfcData(); |
|
46 |
|
47 void DoCmdSetDecoderMode(const TTEFSectionName& aSection); |
|
48 void DoCmdSetCng(const TTEFSectionName& aSection); |
|
49 |
|
50 private: |
|
51 /** |
|
52 * Decoder for G711 |
|
53 */ |
|
54 CG711DecoderIntfc* iG711Decoder; |
|
55 /** |
|
56 * TBool for SetCng |
|
57 */ |
|
58 TBool iCng; |
|
59 }; |
|
60 |
|
61 |
|
62 #endif /*G711HWDDEVICE*/ |