Update contrib.
1 // Copyright (c) 2007-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".
8 // Initial Contributors:
9 // Nokia Corporation - initial contribution.
16 TARGET mdasoundadapter.dll
19 UID 0x1000008d 0x102833D6
22 // Enable this for debug output
23 //MACRO SYMBIAN_SOUNDADAPTER_DEBUG
25 //Normally on SetFormat we try and handle failure. If this macro is enabled, skip first step
26 //Only allow the "CD" rates of 44100, 22050 and 11025 whatever is actually supported.
27 //Assumes one is supported.
28 //[Play only - for debugging]
29 //MACRO SYMBIAN_SOUNDADAPTER_FORCECDRATES
31 //Similar to SYMBIAN_SOUNDADAPTER_FORCECDRATES, only play stereo. Assumes stereo is supported
32 //[Play only - for debugging]
33 // MACRO SYMBIAN_SOUNDADAPTER_FORCESTEREO
35 // For development and debugging, we don't actually resample on stereo even if we should. Instead
36 // just copy data, preserving the size of the input buffer.
37 MACRO SYMBIAN_SKIP_RESAMPLE_ON_RECORD
39 //If this is enabled devsound adaptor will generate -6 errors if the buffers played are not of length divisible by 4.
40 //This reflects some hardware.
41 //MACRO SYMBIAN_FORCE_32BIT_LENGTHS
43 OS_LAYER_SYSTEMINCLUDE_SYMBIAN
45 USERINCLUDE ../../src/audio/mdasoundadapter
46 USERINCLUDE ../../../../mmlibs/mmfw/inc // for rateconverter.h
48 SOURCEPATH ../../src/audio/mdasoundadapter
49 SOURCE mdasoundadapter.cpp
50 SOURCE mdasoundadapterbody.cpp
51 SOURCE mdasoundadapterconsts.cpp
55 LIBRARY audioutils.lib // for rate converter
56 DEFFILE mdasoundadapter.def