Update for in-band FEC
This commit is contained in:
parent
5d56fc78b0
commit
1e1562c121
8 changed files with 80 additions and 47 deletions
|
@ -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 */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue