summaryrefslogtreecommitdiffstats
path: root/cmake
Commit message (Collapse)AuthorAgeLines
* Add support for the new bcg729 API, introduced in version 1.0.2Frédéric Brière2020-03-29-0/+36
| | | | | | | | | | | | | | | | | | | | | | | | | Starting with version 1.0.2, bcg729 has changed its API to add support for G.729B, thus requiring us to adjust our function calls depending on which version is installed. When dealing with the new API, we merely need to add a few parameters to disable all G.729B features, namely: * On the decoder side: When `SIDFrameFlag` is not set, the decoder will behave just like before, decoding the payload as a standard G.729A voice frame (or concealing an erased frame). The other parameters, `rfc3389PayloadFlag` and `bitStreamLength`, are only of use when dealing with a SID frame sent as per RFC 3389, and are ignored if `SIDFrameFlag` is not set. * On the encoder side: When `enableVAD` is disabled, the encoder will behave just like before, producing only standard G.729A voice frames. The only API difference is the introduction of `*bitStreamLength`, to return the length of the encoded frame (0, 2 or 10 bytes). In our case, this will always be 10 bytes just like before; an assert() was added to guarantee this. Closes #104
* CMake: Check if libilbc links without 'extern "C"' (ILBC_CPP)Frédéric Brière2019-12-29-0/+19
| | | | This variable was originally set manually in configure.in.
* Don't require file(1) when checking for libmagicFrédéric Brière2018-02-09-6/+4
| | | | | | | | | | | | | | | | | | Attempting to compile Twinkle on a system where file(1) is not available currently produces a confusing error message about libmagic not being found. The only reason to require file(1) was to obtain the libmagic version, as the MAGIC_VERSION constant was apparently only introduced in 5.13. But since we don't need any particular version, we might as well drop this requirement. Using find_program() instead of find_path() avoids picking /usr/include/file by mistake, which resulted in a (harmless) empty version string in the CMake output. (Thanks to https://bro-tracker.atlassian.net/browse/BIT-1096 for providing some of this information.)
* Add option WITH_GSM to use external gsm libraryPeter Colberg2015-12-29-0/+17
| | | | This permits distributions to build against a packaged gsm library.
* libzrtpcpp 4 changes (#12)Lubos Dolezel2015-06-16-2/+4
|
* Added G729A decoder/encoder wrappers (issue #15)Lubos Dolezel2015-06-15-4/+4
|
* Add a cmake check for bcg729 (issue #15)Lubos Dolezel2015-06-15-0/+17
|
* Fixed optional feature enablingLubos Dolezel2015-06-02-3/+5
| | | | | Hide Diamondcard support Other fixes
* Console CMake build now completeLubos Dolezel2015-06-01-1/+1
|
* Many submodules building (no gui yet), with link-time errorsLubos Dolezel2015-06-01-0/+192
|
* Added initial CMakeLists.txt, searching for dependencies (zrtp, ilbc, speex)Lubos Dolezel2015-06-01-0/+51