os/mm/mmplugins/mmfwplugins/MMPFiles/Plugin/OggRecordController.mmp
changeset 0 bde4ae8d615e
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/os/mm/mmplugins/mmfwplugins/MMPFiles/Plugin/OggRecordController.mmp	Fri Jun 15 03:10:57 2012 +0200
     1.3 @@ -0,0 +1,56 @@
     1.4 +// Copyright (c) 2005-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 oggrecordcontroller.dll
    1.20 +CAPABILITY ALL -TCB
    1.21 +TARGETTYPE PLUGIN
    1.22 +
    1.23 +
    1.24 +// ECom Dll recognition UID followed by the unique UID for this dll
    1.25 +UID		0x10009D8D 0x10273799
    1.26 +VENDORID 0x70000001
    1.27 +
    1.28 +SOURCEPATH	../../src/Plugin/Controller/Audio/OggVorbis/OggRecordController
    1.29 +SOURCE		OggRecordController.cpp
    1.30 +SOURCE		OggEncode.cpp
    1.31 +
    1.32 +USERINCLUDE	../../src/Plugin/Controller/Audio/OggVorbis/OggRecordController
    1.33 +USERINCLUDE     ../../src/Plugin/Controller/Audio/OggVorbis/oggutils/inc
    1.34 +
    1.35 +OS_LAYER_SYSTEMINCLUDE_SYMBIAN
    1.36 +OS_LAYER_ESTLIB_SYSTEMINCLUDE
    1.37 +
    1.38 +START RESOURCE OggRecordController.RSS
    1.39 +TARGET oggrecordcontroller.rsc
    1.40 +END
    1.41 +
    1.42 +LIBRARY		euser.lib 
    1.43 +LIBRARY		ecom.lib 
    1.44 +LIBRARY		estlib.lib 
    1.45 +LIBRARY 	mmfdevsound.lib 
    1.46 +LIBRARY		mmfserverbaseclasses.lib 
    1.47 +LIBRARY		mmfcontrollerframework.lib 
    1.48 +LIBRARY		mmfstandardcustomcommands.lib
    1.49 +LIBRARY		oggvorbisfloatutil.lib
    1.50 +
    1.51 +// OggVorbis C libraries are not alloc safe. So we create a separate heap for C library calls with enough space well before 
    1.52 +// the codec starts processing and we switch to the new heap before making calls to the methods in these libraries. 
    1.53 +// Chunk and Heap sizes are taken such a way that we have enough space on the new heap to avoid OOM situations to the 
    1.54 +// maximum extent possible. Also the malloc, calloc and realloc functions in the C libraries are modified to leave with KErrMemory 
    1.55 +// when the allocation fails. We TRAP the error and cleanup the new heap we had created. This way the library calls are made alloc safe.
    1.56 +// SYMBIAN_SEP_HEAP is provided to enable/disable this separate heap mechanism.
    1.57 +MACRO SYMBIAN_SEP_HEAP
    1.58 +
    1.59 +SMPSAFE