sl@0: // Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies). sl@0: // All rights reserved. sl@0: // This component and the accompanying materials are made available sl@0: // under the terms of "Eclipse Public License v1.0" sl@0: // which accompanies this distribution, and is available sl@0: // at the URL "http://www.eclipse.org/legal/epl-v10.html". sl@0: // sl@0: // Initial Contributors: sl@0: // Nokia Corporation - initial contribution. sl@0: // sl@0: // Contributors: sl@0: // sl@0: // Description: sl@0: // sl@0: sl@0: TARGET mdasoundadapter.dll sl@0: CAPABILITY ALL -TCB sl@0: TARGETTYPE DLL sl@0: UID 0x1000008d 0x102833D6 sl@0: VENDORID 0x70000001 sl@0: sl@0: // Enable this for debug output sl@0: //MACRO SYMBIAN_SOUNDADAPTER_DEBUG sl@0: sl@0: //Normally on SetFormat we try and handle failure. If this macro is enabled, skip first step sl@0: //Only allow the "CD" rates of 44100, 22050 and 11025 whatever is actually supported. sl@0: //Assumes one is supported. sl@0: //[Play only - for debugging] sl@0: //MACRO SYMBIAN_SOUNDADAPTER_FORCECDRATES sl@0: sl@0: //Similar to SYMBIAN_SOUNDADAPTER_FORCECDRATES, only play stereo. Assumes stereo is supported sl@0: //[Play only - for debugging] sl@0: // MACRO SYMBIAN_SOUNDADAPTER_FORCESTEREO sl@0: sl@0: // For development and debugging, we don't actually resample on stereo even if we should. Instead sl@0: // just copy data, preserving the size of the input buffer. sl@0: MACRO SYMBIAN_SKIP_RESAMPLE_ON_RECORD sl@0: sl@0: //If this is enabled devsound adaptor will generate -6 errors if the buffers played are not of length divisible by 4. sl@0: //This reflects some hardware. sl@0: //MACRO SYMBIAN_FORCE_32BIT_LENGTHS sl@0: sl@0: OS_LAYER_SYSTEMINCLUDE_SYMBIAN sl@0: sl@0: USERINCLUDE ../../src/audio/mdasoundadapter sl@0: USERINCLUDE ../../../../mmlibs/mmfw/inc // for rateconverter.h sl@0: sl@0: SOURCEPATH ../../src/audio/mdasoundadapter sl@0: SOURCE mdasoundadapter.cpp sl@0: SOURCE mdasoundadapterbody.cpp sl@0: SOURCE mdasoundadapterconsts.cpp sl@0: sl@0: LIBRARY euser.lib sl@0: LIBRARY hal.lib sl@0: LIBRARY audioutils.lib // for rate converter sl@0: DEFFILE mdasoundadapter.def sl@0: NOSTRICTDEF sl@0: SMPSAFE