| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111 | <html><head><title>Tremor - Build</title><link rel=stylesheet href="style.css" type="text/css"></head><body bgcolor=white text=black link="#5555ff" alink="#5555ff" vlink="#5555ff"><table border=0 width=100%><tr><td><p class=tiny>Tremor documentation</p></td><td align=right><p class=tiny>Tremor version 1.0 - 20020403</p></td></tr></table><h1>Tremor: Building libvorbisidec</h1><p>The C source in the Tremor package will build on any ANSI C compilerand function completely and properly on any platform.  The includedbuild system assumes GNU build system and make tools (m4, automake,autoconf, libtool and gmake).  GCC is not required, although GCC isthe most tested compiler.  To build using GNU tools, type in thesource directory:<p><pre><tt>./autogen.shgmake</tt></pre><p>or if GNU make is the standard make on the build system:<pre><tt>./autogen.shmake</tt></pre><p>Currently, the source implements playback in pure C on all platformsexcept ARM, where a [currently] small amount of assembly (see the fileasm_arm.h) is used to implement 64 bit math operations andfast LSP computation.  If building on ARM without the benefit of GNUbuild system tools, be sure that <tt>_ARM_ASSEM_</tt> is #defined bythe build system if this assembly is desired, else the resultinglibrary will use whatever 64 bit math builtins the compilerimplements.<p>No math library is required by this source.  No floating pointoperations are used at any point in either setup or decode.  Thisdecoder library will properly decode any past, current or futureVorbis I file or stream.<p>The GNU build system produces static and, when supported by the OS,dynamic libraries named 'libvorbisidec'.  This library exposes an APInearly identical to the BSD reference library's 'libvorbisfile',including all the features familiar to users of vorbisfile.  This APIis similar enough that the proper header file to include is named'ivorbisfile.h', included in the source build directory. Lower level libvorbis-style headers and structures arein 'ivorbiscodec.h', also included in the source build directory. Asimple example program, ivorbisfile_example.c, can be built with 'makeivorbisfile_example'.<p>(We've summarized <a href="diff.html">differences between the free,reference vorbisfile library and Tremor's libvorbisidec in a separatedocument</a>.)<h3>Notes</h3><p>Tremor requires a native 64 bit integer type to compile andfunction; The GNU build system will locate and typedef<tt>ogg_int64_t</tt> to the appropriate native type.  If not using theGNU build tools, you will need to define <tt>ogg_int64_t</tt> as a64-bit type inside your system's project file/Makefile, etc. On win32,for example, this should be defined as <tt>__int64</tt>. <p><br><br><hr noshade><table border=0 width=100%><tr valign=top><td><p class=tiny>copyright © 2002 Xiph.org</p></td><td align=right><p class=tiny><a href="http://www.xiph.org/ogg/vorbis/">Ogg Vorbis</a></p></td></tr><tr><td><p class=tiny>Tremor documentation</p></td><td align=right><p class=tiny>Tremor version 1.0 - 20020403</p></td></tr></table></body></html>
 |