os/mm/mmdevicefw/mdf/mmpfiles/audio/mdasoundadapter.mmp
author sl
Tue, 10 Jun 2014 14:32:02 +0200
changeset 1 260cb5ec6c19
permissions -rw-r--r--
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".
     7 //
     8 // Initial Contributors:
     9 // Nokia Corporation - initial contribution.
    10 //
    11 // Contributors:
    12 //
    13 // Description:
    14 //
    15 
    16 TARGET          mdasoundadapter.dll
    17 CAPABILITY      ALL -TCB
    18 TARGETTYPE      DLL
    19 UID             0x1000008d 0x102833D6
    20 VENDORID        0x70000001
    21 
    22 // Enable this for debug output
    23 //MACRO SYMBIAN_SOUNDADAPTER_DEBUG
    24 
    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
    30 
    31 //Similar to SYMBIAN_SOUNDADAPTER_FORCECDRATES, only play stereo. Assumes stereo is supported
    32 //[Play only - for debugging]
    33 // MACRO SYMBIAN_SOUNDADAPTER_FORCESTEREO
    34 
    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
    38 
    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
    42 
    43 OS_LAYER_SYSTEMINCLUDE_SYMBIAN
    44 
    45 USERINCLUDE		../../src/audio/mdasoundadapter
    46 USERINCLUDE		../../../../mmlibs/mmfw/inc // for rateconverter.h
    47 
    48 SOURCEPATH		../../src/audio/mdasoundadapter
    49 SOURCE			mdasoundadapter.cpp
    50 SOURCE			mdasoundadapterbody.cpp
    51 SOURCE			mdasoundadapterconsts.cpp
    52 
    53 LIBRARY			euser.lib
    54 LIBRARY			hal.lib
    55 LIBRARY			audioutils.lib // for rate converter
    56 DEFFILE			mdasoundadapter.def
    57 NOSTRICTDEF
    58 SMPSAFE