⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 readme

📁 lpc10-15为美军2400bps语音压缩标准的C语音源代码。
💻
字号:
Tue Aug 20 16:19:51 CDT 1996Andy Fingerhut (jaf@arl.wustl.edu)In release 1.4, there are quite a few hand modifications to the C codethat was automatically created from the Fortran code with f2c.  Theyare all summarized in change log comments at the beginning of thechanged files.  All of the original files from f2c were checked in toRCS before modification, so it is possible to see exactly what changeswere made, for the extremely curious.  That precaution was also for mybenefit, in case I ever recompile the Fortran sources, and want tomake similar changes to that new C source code.Below is the README file for this directory included with the 1.3release of the LPC-10 package.  A few parts of it are a little out ofdate, but it is correct for the most part.Sun Jul  7 15:30:31 CDT 1996Andy Fingerhut (jaf@arl.wustl.edu)To create the LPC-10 library, copy the appropriate makefile to theproper name for easy use, e.g., for Unix, copy makefile.unx to thefile "Makefile".  The file makefile.dos has been used with someversion of the 'nmake' utility that comes with the Microsoft Ccompiler (the same one used for Nautilus v1.5a, which I believespecifies Microsoft C version 7.0 or later).Then edit the file lpc10.h in the directory above.  It should alreadybe set up to work properly on any Unix compiler for which "int" is 32bits and "short" is 16 bits, and under the Microsoft C compilerconfigured so that "long" is 32 bits and "int" is 16 bits.  There mustbe a typedef for the two types INT32 and INT16 in that file.  Youshould choose types that compile to those sizes using your compiler,because there are places in the LPC-10 code that expect INT16's tohave exactly 16 bits (at least, I *think* they must be no larger), andINT32's to have exactly 32 bits.A few notes on how these files were created-------------------------------------------(This section is mostly for my benefit, so I can remember what I did.You don't need to read it if you just want to use this package.  Itmight be useful to read it if you change the Fortran sources and wantto recreate a usable library of C sources.  -- Andy)These C sources were created automatically from the Fortran sourcesusing f2c, for the most part.  Listed below are the extramodifications that were made after this automatic conversion.  Many ofthem were made so that it was not necessary to install f2c in order touse this LPC-10 coder.1.Put all of those files that were necessary for only the coder, ratherthan an application that uses the coder, into this subdirectory calledlpc10.2.Copied f2c.h from the f2c distribution into this subdirectory.  Somemodifications were made to the "typedef" statements in this file, toexplicitly indicate the sizes (in bits) that different integer typesshould be.  The types INT32 and INT16 must be defined in a file calledlpc10.h in the directory above.  Created the file f2clib.c, containingonly the functions pow_ii(), r_sign(), and i_nint() from the f2clibrary.3.The f2c output originally had a file called contrl_com.c, that defineda small structure containing a few variables that were used in manydifferent functions of the LPC10 code.  Every file containingfunctions that used it defined it as "extern", while contrl_com.cactually allocated storage for the structure.  Bill Dorsey, one of thelead developers of Nautilus, said that the Microsoft C compiler hadproblems either compiling this file, or linking it with all of theother compiled files, so he just eliminated that file and removed the"extern" keyword from the one of the files that declared it that way.The file chosen (arbitrarily) was analys.c.4.Copied the makefiles for Unix and Microsoft C from the Nautilus v1.5adistribution into the lpc10 directory.  Modified them to take outreferences to Nautilus.  These makefiles don't create an executable,but a library of compiled functions called liblpc10.a (Unix) orLPC10.LIB (DOS).  This library can be used when linking an executablethat calls the functions lpcini_(), lpcenc_(), and lpcdec_().

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -