diff options
author | Jean-Marc Valin <jmvalin@jmvalin.ca> | 2011-09-08 13:53:20 -0400 |
---|---|---|
committer | Jean-Marc Valin <jmvalin@jmvalin.ca> | 2011-09-08 13:53:20 -0400 |
commit | 07dceb72dee0a1332b4f0e631d4089f687e58dc0 (patch) | |
tree | 6393bf2ddc10827895f2e8ac5fbb7749f15e1b17 /src/opus_private.h | |
parent | 75ff53c70e7e2b8781dadd21a84be3056e1cde69 (diff) | |
download | libopus-07dceb72dee0a1332b4f0e631d4089f687e58dc0.tar.gz |
Adds ctl() requests for forcing any operating mode in the encoder
Also merges all the OPUS_*_AUTO into a single OPUS_AUTO parameter
Diffstat (limited to 'src/opus_private.h')
-rw-r--r-- | src/opus_private.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/opus_private.h b/src/opus_private.h index 198fdf2b..fd1310ce 100644 --- a/src/opus_private.h +++ b/src/opus_private.h @@ -36,6 +36,10 @@ #define MODE_HYBRID 1001 #define MODE_CELT_ONLY 1002 +#define OPUS_SET_FORCE_MODE_REQUEST 11002 +#define OPUS_SET_FORCE_MODE(x) OPUS_SET_FORCE_MODE_REQUEST, __opus_check_int(x) + + int encode_size(int size, unsigned char *data); int opus_decode_native(OpusDecoder *st, const unsigned char *data, int len, |