diff options
author | Jean-Marc Valin <jean-marc.valin@usherbrooke.ca> | 2011-02-03 13:20:10 -0500 |
---|---|---|
committer | Jean-Marc Valin <jean-marc.valin@usherbrooke.ca> | 2011-02-03 13:20:10 -0500 |
commit | f54b69b7e811753a2df49c3035487da64f1fd9f1 (patch) | |
tree | c64e160486891fef7a78dee53d0cd2d6d2e98f7a | |
parent | 5060bfd783c7a824bbf37546ac4b7d781c7ba7dd (diff) | |
download | opus-f54b69b7e811753a2df49c3035487da64f1fd9f1.tar.gz |
Setting CELT complexity
-rw-r--r-- | src/opus_encoder.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/opus_encoder.c b/src/opus_encoder.c index 3a1cdc4b..17164b68 100644 --- a/src/opus_encoder.c +++ b/src/opus_encoder.c @@ -333,6 +333,7 @@ void opus_encoder_ctl(OpusEncoder *st, int request, ...) { 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: |