examples/SFExamples/oggvorbiscodec/group/OggVorbisFloatUtil.mmp

00001 // oggvorbisfloatutil.mmp
00002 //
00003 // Copyright (c) Symbian Software Ltd 2005-2008.  All rights reserved.
00004 //
00005 
00006 
00007 TARGET          oggvorbisfloatutil.dll
00008 TARGETTYPE      DLL
00009 CAPABILITY  ALL -TCB
00010 //libvorbis has lots of writable static data in it. There does not seem any other way out, but to use this macro.
00011 #if defined (EABI) || defined(X86GCC)
00012 EPOCALLOWDLLDATA
00013 #endif
00014 
00015 //Symbian wrappers around tremor(Fixedpoint decoder library) and libvorbis(Floatpoint encoder) are shared between OggPlayController
00016 //and the OggRecordController. The external APIs to these two libraries differ in only few places and hence SYMBIAN_CODEC_FLOAT_POINT 
00017 //is used whereever we need to differentiate.
00018 MACRO   SYMBIAN_CODEC_FLOAT_POINT
00019 
00020 // OggVorbis C libraries are not alloc safe. So we create a separate heap for C library calls with enough space well before 
00021 // the codec starts processing and we switch to the new heap before making calls to the methods in these libraries. 
00022 // Chunk and Heap sizes are taken such a way that we have enough space on the new heap to avoid OOM situations to the 
00023 // maximum extent possible. Also the malloc, calloc and realloc functions in the C libraries are modified to leave with KErrMemory 
00024 // 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.
00025 // SYMBIAN_SEP_HEAP is provided to enable/disable this separate heap mechanism.
00026 MACRO   SYMBIAN_SEP_HEAP
00027 
00028 UID                     0x1000008d 0x1027552A
00029 SOURCEPATH      ../src/libogg/src
00030 SOURCE          bitwise.c       
00031 SOURCE          framing.c
00032 SOURCEPATH      ../src/libvorbis/lib
00033 SOURCE          analysis.c 
00034 SOURCE          bitrate.c 
00035 SOURCE          window.c 
00036 SOURCE          synthesis.c 
00037 SOURCE          smallft.c
00038 SOURCE          sharedbook.c 
00039 SOURCE          res0.c 
00040 SOURCE          registry.c 
00041 SOURCE          psy.c 
00042 SOURCE          mdct.c 
00043 SOURCE          mapping0.c
00044 SOURCE          lsp.c
00045 SOURCE          lpc.c
00046 SOURCE          lookup.c
00047 SOURCE          info.c
00048 SOURCE          floor0.c
00049 SOURCE          floor1.c
00050 SOURCE          envelope.c
00051 SOURCE          codebook.c
00052 SOURCE          block.c 
00053 SOURCE          vorbisenc.c
00054 SOURCEPATH      ../src/OggVorbisUtil                    
00055 SOURCE      OggPages.cpp
00056 SOURCE      OggPackets.cpp
00057 SOURCE      VorbisInfo.cpp
00058 SOURCE      OggData.cpp
00059 SOURCE      leavealloc.cpp
00060 
00061 USERINCLUDE     ../src/libvorbis/include
00062 USERINCLUDE     ../src/libogg/include
00063 USERINCLUDE     ../src/libogg/src
00064 USERINCLUDE     ../src/libvorbis/lib
00065 USERINCLUDE     ../src/libvorbis/lib/modes
00066 USERINCLUDE     ../src/OggVorbisUtil
00067 
00068 SYSTEMINCLUDE   /epoc32/include
00069 SYSTEMINCLUDE   /epoc32/include/libc
00070 SYSTEMINCLUDE   /epoc32/include/oggvorbiscodec
00071 SYSTEMINCLUDE     /epoc32/include/mw
00072 SYSTEMINCLUDE     /epoc32/include/platform
00073 SYSTEMINCLUDE     /epoc32/include/platform/mw
00074 
00075 
00076 LIBRARY euser.lib 
00077 LIBRARY estlib.lib 
00078 LIBRARY mmfcontrollerframework.lib 
00079 LIBRARY mmfserverbaseclasses.lib
00080 
00081 DEFFILE         oggvorbisfloatutil.def

Generated by  doxygen 1.6.2