From 1e9f091f39a32193b0671e9dfbfb657dd45fec3e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Bri=C3=A8re?= Date: Fri, 12 Jul 2019 19:01:41 -0400 Subject: Add an option to prevent an idle session while a call is in progress Having the session marked as idle while a call is in progress could trigger certain actions (such as locking the screen, logging out automatically, or suspending the system) which could be undesirable in this situation. Closes #123 --- twinkle_config.h.in | 1 + 1 file changed, 1 insertion(+) (limited to 'twinkle_config.h.in') diff --git a/twinkle_config.h.in b/twinkle_config.h.in index 3928565..4f7ee77 100644 --- a/twinkle_config.h.in +++ b/twinkle_config.h.in @@ -9,6 +9,7 @@ #cmakedefine HAVE_LINUX_TYPES_H #cmakedefine HAVE_LINUX_ERRQUEUE_H #cmakedefine HAVE_LIBASOUND +#cmakedefine HAVE_DBUS #define VERSION "${PRODUCT_VERSION}" #define VERSION_DATE "${PRODUCT_DATE}" -- cgit v1.2.3 From 4df6baa5ac4c9d96d5209b4f49390dc52a25f09d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Bri=C3=A8re?= Date: Mon, 12 Feb 2018 19:22:53 -0500 Subject: CMake: Check for strerror_r() (HAVE_STRERROR_R and STRERROR_R_CHAR_P) This check (AC_FUNC_STRERROR_R) was originally present in configure.in, and was lost in the transition to CMake. --- twinkle_config.h.in | 2 ++ 1 file changed, 2 insertions(+) (limited to 'twinkle_config.h.in') diff --git a/twinkle_config.h.in b/twinkle_config.h.in index 3928565..b7c678c 100644 --- a/twinkle_config.h.in +++ b/twinkle_config.h.in @@ -8,6 +8,8 @@ #cmakedefine HAVE_UNISTD_H #cmakedefine HAVE_LINUX_TYPES_H #cmakedefine HAVE_LINUX_ERRQUEUE_H +#cmakedefine HAVE_STRERROR_R +#cmakedefine STRERROR_R_CHAR_P #cmakedefine HAVE_LIBASOUND #define VERSION "${PRODUCT_VERSION}" -- cgit v1.2.3 From 87e996aaebdae6e2f07c8aa650b4eebdd00f0cba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Bri=C3=A8re?= Date: Mon, 12 Feb 2018 19:28:16 -0500 Subject: CMake: Check for res_init() (HAVE_RES_INIT) This check (AC_CHECK_RES_INIT) was originally defined in acinclude.m4, and was lost in the transition to CMake. --- twinkle_config.h.in | 1 + 1 file changed, 1 insertion(+) (limited to 'twinkle_config.h.in') diff --git a/twinkle_config.h.in b/twinkle_config.h.in index b7c678c..9e32712 100644 --- a/twinkle_config.h.in +++ b/twinkle_config.h.in @@ -10,6 +10,7 @@ #cmakedefine HAVE_LINUX_ERRQUEUE_H #cmakedefine HAVE_STRERROR_R #cmakedefine STRERROR_R_CHAR_P +#cmakedefine HAVE_RES_INIT #cmakedefine HAVE_LIBASOUND #define VERSION "${PRODUCT_VERSION}" -- cgit v1.2.3 From 5635f7c2483c4ceac5c0e1cf5e522f7be32fd2f1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Bri=C3=A8re?= Date: Mon, 12 Feb 2018 20:02:11 -0500 Subject: CMake: Check for endianness (WORDS_BIGENDIAN) This check (AC_C_BIGENDIAN) was originally present in configure.in, and was lost in the transition to CMake. --- twinkle_config.h.in | 1 + 1 file changed, 1 insertion(+) (limited to 'twinkle_config.h.in') diff --git a/twinkle_config.h.in b/twinkle_config.h.in index 9e32712..2f03cf2 100644 --- a/twinkle_config.h.in +++ b/twinkle_config.h.in @@ -11,6 +11,7 @@ #cmakedefine HAVE_STRERROR_R #cmakedefine STRERROR_R_CHAR_P #cmakedefine HAVE_RES_INIT +#cmakedefine WORDS_BIGENDIAN #cmakedefine HAVE_LIBASOUND #define VERSION "${PRODUCT_VERSION}" -- cgit v1.2.3 From 6952b81fe89a136c0d087aa98cfbfd8bfc965818 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Bri=C3=A8re?= Date: Tue, 13 Feb 2018 10:29:31 -0500 Subject: CMake: Check if libilbc links without 'extern "C"' (ILBC_CPP) This variable was originally set manually in configure.in. --- twinkle_config.h.in | 1 + 1 file changed, 1 insertion(+) (limited to 'twinkle_config.h.in') diff --git a/twinkle_config.h.in b/twinkle_config.h.in index 2f03cf2..4e649f7 100644 --- a/twinkle_config.h.in +++ b/twinkle_config.h.in @@ -1,6 +1,7 @@ #cmakedefine WITH_DIAMONDCARD #cmakedefine HAVE_SPEEX #cmakedefine HAVE_ILBC +#cmakedefine HAVE_ILBC_CPP #cmakedefine HAVE_ZRTP #cmakedefine HAVE_BCG729 #cmakedefine HAVE_GSM -- cgit v1.2.3 From 46bee14d3cc49d4fb49eaf36a29dbcc7a11a5ab7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Bri=C3=A8re?= Date: Sat, 6 Jul 2019 15:40:56 -0400 Subject: Add support for the new bcg729 API, introduced in version 1.0.2 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 --- twinkle_config.h.in | 1 + 1 file changed, 1 insertion(+) (limited to 'twinkle_config.h.in') diff --git a/twinkle_config.h.in b/twinkle_config.h.in index a1aa3b4..53a0426 100644 --- a/twinkle_config.h.in +++ b/twinkle_config.h.in @@ -4,6 +4,7 @@ #cmakedefine HAVE_ILBC_CPP #cmakedefine HAVE_ZRTP #cmakedefine HAVE_BCG729 +#cmakedefine HAVE_BCG729_ANNEX_B #cmakedefine HAVE_GSM #cmakedefine HAVE_UNISTD_H -- cgit v1.2.3