FreeCalypso > hg > gsm-codec-lib
view INSTALL @ 477:4c9222d95647
libtwamr encoder: always emit frame->mode = mode;
In the original implementation of amr_encode_frame(), the 'mode' member
of the output struct was set to 0xFF if the output frame type is TX_NO_DATA.
This design was made to mimic the mode field (16-bit word) being set to
0xFFFF (or -1) in 3GPP test sequence format - but nothing actually depends
on this struct member being set in any way, and amr_frame_to_tseq()
generates the needed 0xFFFF on its own, based on frame->type being equal
to TX_NO_DATA.
It is simpler and more efficient to always set frame->mode to the actual
encoding mode in amr_encode_frame(), and this new behavior has already
been documented in doc/AMR-library-API description in anticipation of
the present change.
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Sat, 18 May 2024 22:30:42 +0000 |
parents | a53225b44ea5 |
children |
line wrap: on
line source
Dependency graph ================ The complete Themyscira GSM codec libraries & utilities package as presented here consists of two principal parts: Division 1: libgsmefr, libgsmfr2 and libtwamr, the set of C code libraries intended to be usable by other software; Division 2: various command line utilities that were developed under the umbrella of this project and are being released accordingly. Division 2 components have a compile-time dependency on Division 1 (most of these Division 2 command line utilities link with the libraries), but not the other way around: none of the core libraries have any dependency on any other part of this package, not even on each other. Previous versions of gsm-codec-lib suite had a dependency on libgsm, the original GSM 06.10 implementation library from 1990s, and our suite was originally architectured as extending and building on top of libgsm. However, this dependency has now been eliminated, and our new GSM codec libraries and utilities suite is now completely independent from historical libgsm. Compiling and installing Themyscira libraries and utilities =========================================================== The configuration and build process has been fully revamped since previous versions: * You now need to run ./configure before running 'make' - however, please note that our ./configure script is hand-coded, not Autotools/autohell, hence there is no autoreconf nonsense involved. * When you run ./configure, you get the opportunity to either leave CC=, CFLAGS= and the install prefix at their default values, or change them to your own preferences. * There are no more mandatory install-lib and install-utils targets, instead you get standard 'make install' that installs everything into whichever prefix you chose at configure time. (The ability to install only Division 1 components with 'make install-lib' or only Division 2 components with 'make install-utils' is still available, but it is now an experts-only option: if you don't see yourself needing this type of split install, then you don't need it.) The default install prefix is /usr/local, following the general standard for software packages and configure scripts. To change this install location, pass the standard --prefix=/wherever option to ./configure script. In addition to --prefix, our configure script accepts --exec-prefix, --bindir, --includedir and --libdir options, following the common standard. The default compilation settings are CC=gcc and CFLAGS=-O2; to change them, pass CC=my-whatever-cc and/or CFLAGS="-fwhatever-flags" to configure.