summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJean-Marc Valin <jmvalin@amazon.com>2022-06-30 20:11:26 -0400
committerJean-Marc Valin <jmvalin@amazon.com>2022-06-30 20:11:26 -0400
commit3acaa70965c5570ef1711fee9b3a15eac3e74ffe (patch)
tree8fb488de667d94f32333c11bdf806ea7d588c1e1 /tests
parent60c48ade0a9d192b8535023bf7c7db40341ece1e (diff)
downloadopus-3acaa70965c5570ef1711fee9b3a15eac3e74ffe.tar.gz
Adds OPUS_SET_INBAND_FEC(2) option
Unlike OPUS_SET_INBAND_FEC(1), the encoder does not necessarily switch to SILK if we have music.
Diffstat (limited to 'tests')
-rw-r--r--tests/test_opus_api.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_opus_api.c b/tests/test_opus_api.c
index fb385c63..0e7ed2cc 100644
--- a/tests/test_opus_api.c
+++ b/tests/test_opus_api.c
@@ -1298,7 +1298,7 @@ opus_int32 test_enc_api(void)
err=opus_encoder_ctl(enc,OPUS_GET_INBAND_FEC(null_int_ptr));
if(err!=OPUS_BAD_ARG)test_failed();
cfgs++;
- CHECK_SETGET(OPUS_SET_INBAND_FEC(i),OPUS_GET_INBAND_FEC(&i),-1,2,
+ CHECK_SETGET(OPUS_SET_INBAND_FEC(i),OPUS_GET_INBAND_FEC(&i),-1,3,
1,0,
" OPUS_SET_INBAND_FEC .......................... OK.\n",
" OPUS_GET_INBAND_FEC .......................... OK.\n")