Support OPUS_SET_COMPLEXITY() on decoder side
Controls whether deep PLC is enabled
This commit is contained in:
parent
000af0340a
commit
8d43b185b2
8 changed files with 84 additions and 19 deletions
|
@ -281,6 +281,7 @@ opus_int silk_Decode( /* O Returns error co
|
|||
has_side = !psDec->prev_decode_only_middle
|
||||
|| (decControl->nChannelsInternal == 2 && lostFlag == FLAG_DECODE_LBRR && channel_state[1].LBRR_flags[ channel_state[1].nFramesDecoded ] == 1 );
|
||||
}
|
||||
channel_state[ 0 ].sPLC.enable_deep_plc = decControl->enable_deep_plc;
|
||||
/* Call decoder for one frame */
|
||||
for( n = 0; n < decControl->nChannelsInternal; n++ ) {
|
||||
if( n == 0 || has_side ) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue