Update contrib.
1 // Copyright (c) 2005-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 oggrecordcontroller.dll
21 // ECom Dll recognition UID followed by the unique UID for this dll
22 UID 0x10009D8D 0x10273799
25 SOURCEPATH ../../src/Plugin/Controller/Audio/OggVorbis/OggRecordController
26 SOURCE OggRecordController.cpp
29 USERINCLUDE ../../src/Plugin/Controller/Audio/OggVorbis/OggRecordController
30 USERINCLUDE ../../src/Plugin/Controller/Audio/OggVorbis/oggutils/inc
32 OS_LAYER_SYSTEMINCLUDE_SYMBIAN
33 OS_LAYER_ESTLIB_SYSTEMINCLUDE
35 START RESOURCE OggRecordController.RSS
36 TARGET oggrecordcontroller.rsc
42 LIBRARY mmfdevsound.lib
43 LIBRARY mmfserverbaseclasses.lib
44 LIBRARY mmfcontrollerframework.lib
45 LIBRARY mmfstandardcustomcommands.lib
46 LIBRARY oggvorbisfloatutil.lib
48 // OggVorbis C libraries are not alloc safe. So we create a separate heap for C library calls with enough space well before
49 // the codec starts processing and we switch to the new heap before making calls to the methods in these libraries.
50 // Chunk and Heap sizes are taken such a way that we have enough space on the new heap to avoid OOM situations to the
51 // maximum extent possible. Also the malloc, calloc and realloc functions in the C libraries are modified to leave with KErrMemory
52 // 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.
53 // SYMBIAN_SEP_HEAP is provided to enable/disable this separate heap mechanism.
54 MACRO SYMBIAN_SEP_HEAP