summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean-Marc Valin <jmvalin@amazon.com>2022-03-21 14:34:57 -0400
committerJean-Marc Valin <jmvalin@amazon.com>2022-09-15 14:40:44 -0400
commit1e40be2279615ce174b6a22adac136de98e5361e (patch)
tree35ec3dcdbe023d5b11f40b7c323eda94aa82cd21
parent6471627667878c74ba794decf354dc8d3b58caf3 (diff)
downloadopus-1e40be2279615ce174b6a22adac136de98e5361e.tar.gz
enable neural PLC by default
-rw-r--r--configure.ac10
1 files changed, 9 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 1d426f27..b90f5ee7 100644
--- a/configure.ac
+++ b/configure.ac
@@ -153,7 +153,7 @@ AS_IF([test "$enable_float_api" = "no"],[
AC_ARG_ENABLE([custom-modes],
[AS_HELP_STRING([--enable-custom-modes], [enable non-Opus modes, e.g. 44.1 kHz & 2^n frames])],,
- [enable_custom_modes=no])
+ [enable_custom_modes=yes])
AS_IF([test "$enable_custom_modes" = "yes"],[
AC_DEFINE([CUSTOM_MODES], [1], [Custom modes])
@@ -162,6 +162,14 @@ AS_IF([test "$enable_custom_modes" = "yes"],[
AM_CONDITIONAL([CUSTOM_MODES], [test "$enable_custom_modes" = "yes"])
+AC_ARG_ENABLE([neural-plc],
+ [AS_HELP_STRING([--enable-neural-plc], [Use neural PLC for SILK])],,
+ [enable_neural_plc=yes])
+
+AS_IF([test "$enable_neural_plc" = "yes"],[
+ AC_DEFINE([NEURAL_PLC], [1], [Neural PLC])
+])
+
has_float_approx=no
#case "$host_cpu" in
#i[[3456]]86 | x86_64 | powerpc64 | powerpc32 | ia64)