examples/SFExamples/oggvorbiscodec94/group/VorbisEncoderPlugIn.mmp

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

Generated by  doxygen 1.6.2