Setting CELT complexity
This commit is contained in:
parent
5060bfd783
commit
f54b69b7e8
1 changed files with 1 additions and 0 deletions
|
@ -333,6 +333,7 @@ void opus_encoder_ctl(OpusEncoder *st, int request, ...)
|
||||||
{
|
{
|
||||||
int value = va_arg(ap, int);
|
int value = va_arg(ap, int);
|
||||||
st->silk_mode.complexity = value;
|
st->silk_mode.complexity = value;
|
||||||
|
celt_encoder_ctl(st->celt_enc, CELT_SET_COMPLEXITY(value));
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case OPUS_GET_COMPLEXITY_REQUEST:
|
case OPUS_GET_COMPLEXITY_REQUEST:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue