Commit 1c94d089 authored by vaclav's avatar vaclav
Browse files

fix SBA DTX at lowest bitrates

parent 6ff997cc
Loading
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -874,7 +874,7 @@ static ivas_error configureEncoder(
    if ( hEncoderConfig->Opt_DTX_ON && hEncoderConfig->ivas_format != MONO_FORMAT &&
         ( ( hEncoderConfig->ivas_format == ISM_FORMAT && hEncoderConfig->nchan_inp > 1 ) ||                                                                                     // ToDo: see Issue 113
           ( hEncoderConfig->ivas_format == MASA_FORMAT && hEncoderConfig->ivas_total_brate > IVAS_128k ) ||                                                                     // ToDo: remove the bitrate limitation
           ( hEncoderConfig->ivas_format == SBA_FORMAT && ivas_get_spar_num_TCs( hEncoderConfig->ivas_total_brate, 1 ) > 2 ) || // ToDo: support for 3+ TCs to be done
           ( hEncoderConfig->ivas_format == SBA_FORMAT && hEncoderConfig->ivas_total_brate >= IVAS_24k4 && ivas_get_spar_num_TCs( hEncoderConfig->ivas_total_brate, 1 ) > 2 ) || // ToDo: support for 3+ TCs to be done
           hEncoderConfig->ivas_format == MC_FORMAT                                                                                                                              // ToDo: TBD
           ) )
#else