s/OPUS_SET_VBR_FLAG/OPUS_SET_VBR/

This commit is contained in:
Jean-Marc Valin 2011-08-18 16:55:24 -04:00
parent 6bb1c1838d
commit d7f6700f16
3 changed files with 7 additions and 7 deletions

View file

@ -872,14 +872,14 @@ int opus_encoder_ctl(OpusEncoder *st, int request, ...)
*value = st->silk_mode.packetLossPercentage;
}
break;
case OPUS_SET_VBR_FLAG_REQUEST:
case OPUS_SET_VBR_REQUEST:
{
int value = va_arg(ap, int);
st->use_vbr = value;
st->silk_mode.useCBR = 1-value;
}
break;
case OPUS_GET_VBR_FLAG_REQUEST:
case OPUS_GET_VBR_REQUEST:
{
int *value = va_arg(ap, int*);
*value = st->use_vbr;