<div>looking at the code for celt_encoder_ctl in 0.7.1 I'm confused as to why Complexity is described as a value from 0-10, but the code only appears to have one setting for 0-2 and another setting for 3-10. Is that for future use or am I missing something?<br>
</div><div><br></div><div><br></div><div> case CELT_SET_COMPLEXITY_REQUEST:<br> {<br> int value = va_arg(ap, celt_int32);<br> if (value<0 || value>10)<br> goto bad_arg;<br> if (value<=2) {<br>
st->pitch_enabled = 0; <br> st->pitch_available = 0;<br> } else {<br> st->pitch_enabled = 1;<br> if (st->pitch_available<1)<br> st->pitch_available = 1;<br>
} <br> }<br></div>