Enabling the CELT post-filter in Opus
authorJean-Marc Valin <jean-marc.valin@usherbrooke.ca>
Thu, 3 Feb 2011 04:47:52 +0000 (23:47 -0500)
committerJean-Marc Valin <jean-marc.valin@usherbrooke.ca>
Thu, 3 Feb 2011 04:47:52 +0000 (23:47 -0500)
celt
configure.ac
src/test_opus.c

diff --git a/celt b/celt
index 9cc56bf..3a8f04d 160000 (submodule)
--- a/celt
+++ b/celt
@@ -1 +1 @@
-Subproject commit 9cc56bf0af85bfa208e26c07afbca383e2a52b4e
+Subproject commit 3a8f04db17201192a915db6a0d105178547b88a6
index 5a13d70..c8e2830 100644 (file)
@@ -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])
 
index ba7aa39..d837205 100644 (file)
@@ -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;