os/mm/mmplugins/mmfwplugins/MMPFiles/Plugin/OggPlayController.mmp
author sl
Tue, 10 Jun 2014 14:32:02 +0200
changeset 1 260cb5ec6c19
permissions -rw-r--r--
Update contrib.
sl@0
     1
// Copyright (c) 2005-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 oggplaycontroller.dll
sl@0
    17
CAPABILITY ALL -TCB
sl@0
    18
TARGETTYPE PLUGIN
sl@0
    19
sl@0
    20
// ECom Dll recognition UID followed by the unique UID for this dll
sl@0
    21
UID		0x10009D8D 0x01004303
sl@0
    22
VENDORID 0x70000001
sl@0
    23
sl@0
    24
SOURCEPATH	../../src/Plugin/Controller/Audio/OggVorbis/OggPlayController
sl@0
    25
SOURCE		OggPlayController.cpp
sl@0
    26
SOURCE		OggDecode.cpp
sl@0
    27
sl@0
    28
USERINCLUDE	../../src/Plugin/Controller/Audio/OggVorbis/OggPlayController
sl@0
    29
USERINCLUDE     ../../src/Plugin/Controller/Audio/OggVorbis/oggutils/inc
sl@0
    30
sl@0
    31
OS_LAYER_SYSTEMINCLUDE_SYMBIAN
sl@0
    32
OS_LAYER_ESTLIB_SYSTEMINCLUDE
sl@0
    33
sl@0
    34
START RESOURCE OggPlayController.RSS
sl@0
    35
TARGET oggplaycontroller.rsc
sl@0
    36
END
sl@0
    37
sl@0
    38
LIBRARY		euser.lib 
sl@0
    39
LIBRARY		ecom.lib 
sl@0
    40
LIBRARY		estlib.lib 
sl@0
    41
LIBRARY 	mmfdevsound.lib 
sl@0
    42
LIBRARY		mmfserverbaseclasses.lib 
sl@0
    43
LIBRARY		mmfcontrollerframework.lib 
sl@0
    44
LIBRARY		mmfstandardcustomcommands.lib
sl@0
    45
LIBRARY		oggvorbisintutil.lib
sl@0
    46
sl@0
    47
// OggVorbis C libraries are not alloc safe. So we create a separate heap for C library calls with enough space well before 
sl@0
    48
// the codec starts processing and we switch to the new heap before making calls to the methods in these libraries. 
sl@0
    49
// Chunk and Heap sizes are taken such a way that we have enough space on the new heap to avoid OOM situations to the 
sl@0
    50
// maximum extent possible. Also the malloc, calloc and realloc functions in the C libraries are modified to leave with KErrMemory 
sl@0
    51
// 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.
sl@0
    52
// SYMBIAN_SEP_HEAP is provided to enable/disable this separate heap mechanism.
sl@0
    53
MACRO SYMBIAN_SEP_HEAP
sl@0
    54
sl@0
    55
SMPSAFE