os/mm/mmdevicefw/mdf/mmpfiles/audio/mdasoundadapter.mmp
author sl@SLION-WIN7.fritz.box
Fri, 15 Jun 2012 03:10:57 +0200 (2012-06-15)
changeset 0 bde4ae8d615e
permissions -rw-r--r--
First public contribution.
sl@0
     1
// Copyright (c) 2007-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
//
sl@0
    15
sl@0
    16
TARGET          mdasoundadapter.dll
sl@0
    17
CAPABILITY      ALL -TCB
sl@0
    18
TARGETTYPE      DLL
sl@0
    19
UID             0x1000008d 0x102833D6
sl@0
    20
VENDORID        0x70000001
sl@0
    21
sl@0
    22
// Enable this for debug output
sl@0
    23
//MACRO SYMBIAN_SOUNDADAPTER_DEBUG
sl@0
    24
sl@0
    25
//Normally on SetFormat we try and handle failure. If this macro is enabled, skip first step 
sl@0
    26
//Only allow the "CD" rates of 44100, 22050 and 11025 whatever is actually supported.
sl@0
    27
//Assumes one is supported.
sl@0
    28
//[Play only - for debugging]
sl@0
    29
//MACRO SYMBIAN_SOUNDADAPTER_FORCECDRATES
sl@0
    30
sl@0
    31
//Similar to SYMBIAN_SOUNDADAPTER_FORCECDRATES, only play stereo. Assumes stereo is supported
sl@0
    32
//[Play only - for debugging]
sl@0
    33
// MACRO SYMBIAN_SOUNDADAPTER_FORCESTEREO
sl@0
    34
sl@0
    35
// For development and debugging, we don't actually resample on stereo even if we should. Instead
sl@0
    36
// just copy data, preserving the size of the input buffer.
sl@0
    37
MACRO SYMBIAN_SKIP_RESAMPLE_ON_RECORD
sl@0
    38
sl@0
    39
//If this is enabled devsound adaptor will generate -6 errors if the buffers played are not of length divisible by 4.
sl@0
    40
//This reflects some hardware.
sl@0
    41
//MACRO SYMBIAN_FORCE_32BIT_LENGTHS
sl@0
    42
sl@0
    43
OS_LAYER_SYSTEMINCLUDE_SYMBIAN
sl@0
    44
sl@0
    45
USERINCLUDE		../../src/audio/mdasoundadapter
sl@0
    46
USERINCLUDE		../../../../mmlibs/mmfw/inc // for rateconverter.h
sl@0
    47
sl@0
    48
SOURCEPATH		../../src/audio/mdasoundadapter
sl@0
    49
SOURCE			mdasoundadapter.cpp
sl@0
    50
SOURCE			mdasoundadapterbody.cpp
sl@0
    51
SOURCE			mdasoundadapterconsts.cpp
sl@0
    52
sl@0
    53
LIBRARY			euser.lib
sl@0
    54
LIBRARY			hal.lib
sl@0
    55
LIBRARY			audioutils.lib // for rate converter
sl@0
    56
DEFFILE			mdasoundadapter.def
sl@0
    57
NOSTRICTDEF
sl@0
    58
SMPSAFE