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