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-03-21 14:34:57 -0400
commit05f6024f6fd8c5c2c9fcd562d27ca1613b60b70e (patch)
treed793447ba3a6d8528bc8dde13e795cb5a89ca4dc
parentb121f8f62222fe2df2f8ca30aedca219270eb4e6 (diff)
downloadopus-exp_plc_hack4.tar.gz
enable neural PLC by defaultexp_plc_hack4
-rw-r--r--configure.ac10
1 files changed, 9 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index f12f0aa9..47732bf5 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)