shithub: opus

Download patch

ref: 1761b814c8daa88b2d3777c86fca2d1ef1785161
parent: 0bf739569c00e53fcd1c10d702cf42dd0a2ba725
author: Jean-Marc Valin <[email protected]>
date: Wed Feb 2 18:47:52 EST 2011

Enabling the CELT post-filter in Opus

--- a/configure.ac
+++ b/configure.ac
@@ -22,6 +22,7 @@
 # Checks for library functions.
 AC_FUNC_MALLOC
 
+export OPUS_BUILD=true
 AC_CONFIG_SUBDIRS([celt])
 AC_CONFIG_SUBDIRS([silk])
 
--- a/src/test_opus.c
+++ b/src/test_opus.c
@@ -203,7 +203,7 @@
    }
    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;