Commit c3f050b7 authored by hsd's avatar hsd
Browse files

encapsulate LC3PLUS_DEC_ALLOW_DISABLE_CACHING specific functions into the...

encapsulate LC3PLUS_DEC_ALLOW_DISABLE_CACHING specific functions into the relevant define to avoid unused function warnings
parent 735b8568
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -1242,6 +1242,7 @@ static int scenario_per_subframe_switches_dec_first(
    return IVAS_ERR_OK;
}

#ifdef LC3PLUS_DEC_ALLOW_DISABLE_CACHING
/*
 * Step1:
 *   in: [dec, dec, skip, skip]
@@ -1428,7 +1429,7 @@ static int scenario_per_subframe_switches_dec_first_no_caching(
    IVAS_LC3PLUS_DEC_FreeSubframeDecodingMatrix( selective_decoding_matrix );
    return IVAS_ERR_OK;
}

#endif

/*
 * Step1:
@@ -1922,6 +1923,7 @@ static int selectiveDecIvas20msLc3plus5ms_48kHz_scenario_per_subframe_bundle_swi
    return err;
}

#ifdef LC3PLUS_DEC_ALLOW_DISABLE_CACHING
static int selectiveDecIvas20msLc3plus5ms_48kHz_scenario_per_subframe_switches_dec_first_no_caching( void )
{
    int err = 0;
@@ -1934,7 +1936,7 @@ static int selectiveDecIvas20msLc3plus5ms_48kHz_scenario_per_subframe_switches_d
    }
    return err;
}

#endif

static int selectiveDecIvas20msLc3plus5ms_48kHz_scenario_get_active_dont_cache( void )
{