|
1 /* |
|
2 * Copyright (c) 2002-2006 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: Interface definition for G711 encoder interface. |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 |
|
21 // INCLUDE FILES |
|
22 #include "G711EncoderIntfcProxy_STUB.h" |
|
23 #include "G711EncoderIntfc.h" |
|
24 #include <MdaAudioInputStream.h> |
|
25 #include <mmf/server/sounddevice.h> |
|
26 |
|
27 |
|
28 // EXTERNAL DATA STRUCTURES |
|
29 |
|
30 // EXTERNAL FUNCTION PROTOTYPES |
|
31 |
|
32 // CONSTANTS |
|
33 |
|
34 // MACROS |
|
35 |
|
36 // LOCAL CONSTANTS AND MACROS |
|
37 |
|
38 // MODULE DATA STRUCTURES |
|
39 |
|
40 // LOCAL FUNCTION PROTOTYPES |
|
41 |
|
42 // FORWARD DECLARATIONS |
|
43 |
|
44 // ============================= LOCAL FUNCTIONS =============================== |
|
45 |
|
46 // ============================ MEMBER FUNCTIONS =============================== |
|
47 |
|
48 // ----------------------------------------------------------------------------- |
|
49 // CG711EncoderIntfc::NewL |
|
50 // Creates the custom interface. |
|
51 // Calls the custom interface method on the devsound passed in. |
|
52 // Devsound will return the handle to the custom interface proxy. |
|
53 // (other items were commented in a header). |
|
54 // ----------------------------------------------------------------------------- |
|
55 // |
|
56 EXPORT_C CG711EncoderIntfc* |
|
57 CG711EncoderIntfc::NewL(CMMFDevSound& aDevSound) |
|
58 { |
|
59 return CG711EncoderIntfcProxy_STUB::NewL(); |
|
60 } |
|
61 |
|
62 // ----------------------------------------------------------------------------- |
|
63 // CG711EncoderIntfc::NewL |
|
64 // Creates the custom interface. |
|
65 // Calls the custom interface method on the CMdaAudioInputStream passed in. |
|
66 // The CMdaAudioInputStream utility will return the handle to the custom |
|
67 // interface proxy. |
|
68 // (other items were commented in a header). |
|
69 // ----------------------------------------------------------------------------- |
|
70 // |
|
71 EXPORT_C CG711EncoderIntfc* |
|
72 CG711EncoderIntfc::NewL(CMdaAudioInputStream& aUtility) |
|
73 { |
|
74 return CG711EncoderIntfcProxy_STUB::NewL(); |
|
75 } |
|
76 |
|
77 // ========================== OTHER EXPORTED FUNCTIONS ========================= |
|
78 |
|
79 // End of File |