Commit eecac1f2 authored by premathasara's avatar premathasara
Browse files

Fix a previous incorrect merge and address some review comments

parent a0fc112a
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -152,6 +152,7 @@
#define FIX_155_HP20_ISSUE                              /* Issue 155: apply hp20 on all input channels instead of just 2 channels */
#define EFAP_FIX_POLY                                   /* Issue 167: fix bug in EFAP polygon selection */
#define SBA_HOA_HBR_IMPROV                              /* issue 91: Improvements to SBA high bitrate HOA3 coding */
#define AGC_TUNING_IMPROVEMENT                          /* Issue 168: Enable AGC for low bit rate (1 TC) */
#ifdef AGC_TUNING_IMPROVEMENT
#define AGC_ENABLE_FOR_LBR                              /* Issue 168: Enable AGC for low bit rate (1 TC) */
#endif
+2 −2
Original line number Diff line number Diff line
@@ -73,9 +73,9 @@ int16_t ivas_agc_enc_get_enablement_flag(
    IVAS_ENC_AGC agc_configuration,
    int16_t nchan_transport )
{
    return (bool) ( ( agc_configuration == IVAS_ENC_AGC_UNDEFINED )
    return (int16_t) ( ( agc_configuration == IVAS_ENC_AGC_UNDEFINED )
                        ? ( nchan_transport == 1 )
                        : !!agc_configuration );
                        : agc_configuration );
}
#endif