Displaying 1 result from an estimated 1 matches for "pitch_enabled".
2010 Mar 02
1
question about CELT_SET_COMPLEXITY_REQUEST
...s 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?
case CELT_SET_COMPLEXITY_REQUEST:
{
int value = va_arg(ap, celt_int32);
if (value<0 || value>10)
goto bad_arg;
if (value<=2) {
st->pitch_enabled = 0;
st->pitch_available = 0;
} else {
st->pitch_enabled = 1;
if (st->pitch_available<1)
st->pitch_available = 1;
}
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.xiph.org/pipermail/opus/attachments/20100302/688a24b7/attachment-0002.htm