ref: f54b69b7e811753a2df49c3035487da64f1fd9f1
parent: 5060bfd783c7a824bbf37546ac4b7d781c7ba7dd
author: Jean-Marc Valin <[email protected]>
date: Thu Feb 3 08:20:10 EST 2011
Setting CELT complexity
--- a/src/opus_encoder.c
+++ b/src/opus_encoder.c
@@ -333,6 +333,7 @@
{
int value = va_arg(ap, int);
st->silk_mode.complexity = value;
+ celt_encoder_ctl(st->celt_enc, CELT_SET_COMPLEXITY(value));
}
break;
case OPUS_GET_COMPLEXITY_REQUEST: