1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/os/mm/mmdevicefw/mdf/mmpfiles/audio/mdasoundadapter.mmp Fri Jun 15 03:10:57 2012 +0200
1.3 @@ -0,0 +1,58 @@
1.4 +// Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
1.5 +// All rights reserved.
1.6 +// This component and the accompanying materials are made available
1.7 +// under the terms of "Eclipse Public License v1.0"
1.8 +// which accompanies this distribution, and is available
1.9 +// at the URL "http://www.eclipse.org/legal/epl-v10.html".
1.10 +//
1.11 +// Initial Contributors:
1.12 +// Nokia Corporation - initial contribution.
1.13 +//
1.14 +// Contributors:
1.15 +//
1.16 +// Description:
1.17 +//
1.18 +
1.19 +TARGET mdasoundadapter.dll
1.20 +CAPABILITY ALL -TCB
1.21 +TARGETTYPE DLL
1.22 +UID 0x1000008d 0x102833D6
1.23 +VENDORID 0x70000001
1.24 +
1.25 +// Enable this for debug output
1.26 +//MACRO SYMBIAN_SOUNDADAPTER_DEBUG
1.27 +
1.28 +//Normally on SetFormat we try and handle failure. If this macro is enabled, skip first step
1.29 +//Only allow the "CD" rates of 44100, 22050 and 11025 whatever is actually supported.
1.30 +//Assumes one is supported.
1.31 +//[Play only - for debugging]
1.32 +//MACRO SYMBIAN_SOUNDADAPTER_FORCECDRATES
1.33 +
1.34 +//Similar to SYMBIAN_SOUNDADAPTER_FORCECDRATES, only play stereo. Assumes stereo is supported
1.35 +//[Play only - for debugging]
1.36 +// MACRO SYMBIAN_SOUNDADAPTER_FORCESTEREO
1.37 +
1.38 +// For development and debugging, we don't actually resample on stereo even if we should. Instead
1.39 +// just copy data, preserving the size of the input buffer.
1.40 +MACRO SYMBIAN_SKIP_RESAMPLE_ON_RECORD
1.41 +
1.42 +//If this is enabled devsound adaptor will generate -6 errors if the buffers played are not of length divisible by 4.
1.43 +//This reflects some hardware.
1.44 +//MACRO SYMBIAN_FORCE_32BIT_LENGTHS
1.45 +
1.46 +OS_LAYER_SYSTEMINCLUDE_SYMBIAN
1.47 +
1.48 +USERINCLUDE ../../src/audio/mdasoundadapter
1.49 +USERINCLUDE ../../../../mmlibs/mmfw/inc // for rateconverter.h
1.50 +
1.51 +SOURCEPATH ../../src/audio/mdasoundadapter
1.52 +SOURCE mdasoundadapter.cpp
1.53 +SOURCE mdasoundadapterbody.cpp
1.54 +SOURCE mdasoundadapterconsts.cpp
1.55 +
1.56 +LIBRARY euser.lib
1.57 +LIBRARY hal.lib
1.58 +LIBRARY audioutils.lib // for rate converter
1.59 +DEFFILE mdasoundadapter.def
1.60 +NOSTRICTDEF
1.61 +SMPSAFE