|
1 // Copyright (c) 2003-2009 Nokia Corporation and/or its subsidiary(-ies). |
|
2 // All rights reserved. |
|
3 // This component and the accompanying materials are made available |
|
4 // under the terms of "Eclipse Public License v1.0" |
|
5 // which accompanies this distribution, and is available |
|
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
7 // |
|
8 // Initial Contributors: |
|
9 // Nokia Corporation - initial contribution. |
|
10 // |
|
11 // Contributors: |
|
12 // |
|
13 // Description: |
|
14 // mmfswcodecwrapper.dll Hardware device wrapper for reference software audio devices |
|
15 // __CYCLE_MMF_DATABUFFERS__ tries to replicate the conditions described in INC021405 |
|
16 // ('Play-EOF-Play on HwAccelerated solution Panics'). Each time DevSound returns a |
|
17 // buffer it will be different to the previous one supplied. This simulates implementations |
|
18 // where multiple buffers are available. |
|
19 // A similar thing happens on OMAP hardware. |
|
20 // MACRO __CYCLE_MMF_DATABUFFERS__ |
|
21 // __USE_MMF_TRANSFERBUFFERS__ enables devsound to create CMMFTransferBuffers rather than |
|
22 // CMMFDescriptorBuffers |
|
23 // MACRO __USE_MMF_TRANSFERBUFFERS__ |
|
24 // __USE_MMF_PTRBUFFERS__ enables devsound to create CMMFPtrBuffers rather than |
|
25 // CMMFDescriptorBuffers |
|
26 // note this MACRO cannot be used in conjunction with __CYCLE_MMF_DATABUFFERS__ and/or __USE_MMF_TRANSFERBUFFERS__ |
|
27 // MACRO __USE_MMF_PTRBUFFERS__ |
|
28 // |
|
29 // Enable to get enhanced logging output |
|
30 //MACRO SYMBIAN_SCW_DEBUG |
|
31 |
|
32 /** |
|
33 @file |
|
34 */ |
|
35 |
|
36 |
|
37 |
|
38 target mmfswcodecwrapper.dll |
|
39 CAPABILITY ALL -TCB |
|
40 targettype DLL |
|
41 UNPAGED |
|
42 |
|
43 UID 0x1000008D 0x101F9EEE //static interface DLL Uid KSharedLibraryUid |
|
44 VENDORID 0x70000001 |
|
45 |
|
46 #ifdef SYMBIAN_MDF_SHAREDCHUNK_SOUNDDRIVER |
|
47 userinclude ../../../../mmdevicefw/mdf/src/audio/mdasoundadapter |
|
48 #endif |
|
49 |
|
50 OS_LAYER_SYSTEMINCLUDE_SYMBIAN |
|
51 |
|
52 SOURCEPATH ../../src/swcodecwrapper |
|
53 |
|
54 source mmfSwCodecWrapper.cpp |
|
55 source mmfSwCodecDataPath.cpp |
|
56 source mmfSwCodecPlayDataPath.cpp |
|
57 source mmfSwCodecRecordDataPath.cpp |
|
58 source mmfSwCodecConvertDataPath.cpp |
|
59 source mmfSwCodecUtility.cpp |
|
60 |
|
61 |
|
62 library euser.lib |
|
63 library mmfserverbaseclasses.lib |
|
64 library ecom.lib |
|
65 #ifdef SYMBIAN_MDF_SHAREDCHUNK_SOUNDDRIVER |
|
66 library mdasoundadapter.lib |
|
67 #endif |
|
68 library mmfswaudiodevice.lib |
|
69 |
|
70 #ifdef EABI |
|
71 DEFFILE ../../eabi/mmfswcodecwrapper.def |
|
72 #endif |
|
73 |
|
74 #ifdef WINSCW |
|
75 DEFFILE ../../bwins/MMFSWCODECWRAPPER.DEF |
|
76 #endif |
|
77 |
|
78 nostrictdef |
|
79 |
|
80 start wins |
|
81 baseaddress 0x4F140000 |
|
82 end |
|
83 |
|
84 SMPSAFE |