examples/SFExamples/oggvorbiscodec94/group/VorbisDecoderPlugIn.mmp

00001 // VorbisDecoderPlugIn.mmp
00002 //
00003 // Copyright (c) Symbian Software Ltd 2005-2006.  All rights reserved.
00004 //
00005 
00006 TARGET          VorbisDecoderPlugIn.dll
00007 CAPABILITY      ALL -TCB
00008 TARGETTYPE      PLUGIN
00009 // ECom Dll recognition UID followed by the unique UID for this dll
00010 UID             0x10009D8D 0x102737B1
00011 
00012 SOURCEPATH      ..\src\VorbisDecoder
00013 SOURCE          VorbisDecoderPlugIn.cpp
00014 SOURCE          VorbisDecoder.cpp
00015 
00016 USERINCLUDE     ..\src\VorbisDecoder
00017 USERINCLUDE     ..\src\tremor
00018 USERINCLUDE     ..\src\OggVorbisUtil
00019 
00020 SYSTEMINCLUDE   \epoc32\include
00021 SYSTEMINCLUDE   \epoc32\include\libc
00022 SYSTEMINCLUDE   \epoc32\include\oggvorbiscodec
00023 SYSTEMINCLUDE           \epoc32\include\mw
00024 SYSTEMINCLUDE           \epoc32\include\platform
00025 SYSTEMINCLUDE           \epoc32\include\platform\mw
00026 
00027 START RESOURCE VorbisDecoderPlugin.rss
00028 TARGET VorbisDecoderPlugIn.rsc
00029 END
00030 
00031 LIBRARY         euser.lib 
00032 LIBRARY         mmfserverbaseclasses.lib
00033 LIBRARY         ecom.lib 
00034 LIBRARY         mmfswcodecwrapper.lib 
00035 LIBRARY         oggvorbisintutil.lib
00036 
00037 // OggVorbis C libraries are not alloc safe. So we create a separate heap for C library calls with enough space well before 
00038 // the codec starts processing and we switch to the new heap before making calls to the methods in these libraries. 
00039 // Chunk and Heap sizes are taken such a way that we have enough space on the new heap to avoid OOM situations to the 
00040 // maximum extent possible. Also the malloc, calloc and realloc functions in the C libraries are modified to leave with KErrMemory 
00041 // 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.
00042 // SYMBIAN_SEP_HEAP is provided to enable/disable this separate heap mechanism.
00043 MACRO SYMBIAN_SEP_HEAP

Generated by  doxygen 1.6.2