From 1761b814c8daa88b2d3777c86fca2d1ef1785161 Mon Sep 17 00:00:00 2001 From: Jean-Marc Valin Date: Wed, 2 Feb 2011 23:47:52 -0500 Subject: Enabling the CELT post-filter in Opus --- celt | 2 +- configure.ac | 1 + src/test_opus.c | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/celt b/celt index 9cc56bf0..3a8f04db 160000 --- a/celt +++ b/celt @@ -1 +1 @@ -Subproject commit 9cc56bf0af85bfa208e26c07afbca383e2a52b4e +Subproject commit 3a8f04db17201192a915db6a0d105178547b88a6 diff --git a/configure.ac b/configure.ac index 5a13d70c..c8e28305 100644 --- a/configure.ac +++ b/configure.ac @@ -22,6 +22,7 @@ AC_TYPE_SIZE_T # Checks for library functions. AC_FUNC_MALLOC +export OPUS_BUILD=true AC_CONFIG_SUBDIRS([celt]) AC_CONFIG_SUBDIRS([silk]) diff --git a/src/test_opus.c b/src/test_opus.c index ba7aa39b..d8372056 100644 --- a/src/test_opus.c +++ b/src/test_opus.c @@ -203,7 +203,7 @@ int main(int argc, char *argv[]) } if (mode==MODE_HYBRID) { - if (bandwidth != BANDWIDTH_SUPERWIDEBAND && bandwidth != BANDWIDTH_SUPERWIDEBAND) + if (bandwidth != BANDWIDTH_SUPERWIDEBAND && bandwidth != BANDWIDTH_FULLBAND) { fprintf (stderr, "Hybrid mode only supports superwideband and fullband\n"); return 1; -- cgit v1.2.3