Update for in-band FEC

This commit is contained in:
Koen Vos 2011-02-14 15:04:59 -05:00 committed by Jean-Marc Valin
parent 5d56fc78b0
commit 1e1562c121
8 changed files with 80 additions and 47 deletions

View file

@ -134,7 +134,9 @@ int opus_encode(OpusEncoder *st, const short *pcm, int frame_size,
}
if( st->mode == MODE_HYBRID ) {
/* Don't allow bandwidth reduction at lowest bitrates in hybrid mode */
st->silk_mode.minInternalSampleRate = st->silk_mode.maxInternalSampleRate ;
st->silk_mode.minInternalSampleRate = 16000;
} else {
st->silk_mode.minInternalSampleRate = 8000;
}
/* Call SILK encoder for the low band */