Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Mark Harris
Opus
Commits
5aa57e4f
Commit
5aa57e4f
authored
Feb 04, 2011
by
Jean-Marc Valin
Browse files
Configure option for custom modes
parent
4d3e105a
Changes
2
Hide whitespace changes
Inline
Side-by-side
configure.ac
View file @
5aa57e4f
...
@@ -124,6 +124,13 @@ AC_ARG_ENABLE(experimental-postfilter, [ --enable-experimental-postfilter E
...
@@ -124,6 +124,13 @@ AC_ARG_ENABLE(experimental-postfilter, [ --enable-experimental-postfilter E
AC_DEFINE([ENABLE_POSTFILTER], , [Postfilter])
AC_DEFINE([ENABLE_POSTFILTER], , [Postfilter])
fi])
fi])
ac_enable_custom_modes="no"
AC_ARG_ENABLE(custom-modes, [ --enable-custom-modes Enable non-Opus modes, like 44.1 kHz and powers of two ],
[if test "$enableval" = yes; then
ac_enable_custom_modes="yes"
AC_DEFINE([CUSTOM_MODES], , [Custom modes])
fi])
float_approx=$has_float_approx
float_approx=$has_float_approx
AC_ARG_ENABLE(float-approx, [ --enable-float-approx enable fast approximations for floating point],
AC_ARG_ENABLE(float-approx, [ --enable-float-approx enable fast approximations for floating point],
[ if test "$enableval" = yes; then
[ if test "$enableval" = yes; then
...
...
libcelt/modes.h
View file @
5aa57e4f
...
@@ -41,7 +41,7 @@
...
@@ -41,7 +41,7 @@
#include "entenc.h"
#include "entenc.h"
#include "entdec.h"
#include "entdec.h"
#define CELT_BITSTREAM_VERSION 0x8000000
f
#define CELT_BITSTREAM_VERSION 0x800000
1
0
#define MAX_PERIOD 1024
#define MAX_PERIOD 1024
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment