Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.xiph.org/xiph/opus.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean-Marc Valin <jean-marc.valin@usherbrooke.ca>2011-02-03 07:47:52 +0300
committerJean-Marc Valin <jean-marc.valin@usherbrooke.ca>2011-02-03 07:47:52 +0300
commit1761b814c8daa88b2d3777c86fca2d1ef1785161 (patch)
treecd10eb88ab8deed93fd2bfde7478db01173c2efb
parent0bf739569c00e53fcd1c10d702cf42dd0a2ba725 (diff)
Enabling the CELT post-filter in Opus
m---------celt10
-rw-r--r--configure.ac1
-rw-r--r--src/test_opus.c2
3 files changed, 7 insertions, 6 deletions
diff --git a/celt b/celt
-Subproject 9cc56bf0af85bfa208e26c07afbca383e2a52b4
+Subproject 3a8f04db17201192a915db6a0d105178547b88a
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;