diff --git a/silk/LPC_inv_pred_gain.c b/silk/LPC_inv_pred_gain.c index fb989acd..fd2e7ac5 100644 --- a/silk/LPC_inv_pred_gain.c +++ b/silk/LPC_inv_pred_gain.c @@ -132,7 +132,10 @@ opus_int silk_LPC_inverse_pred_gain( /* O Returns 1 if unstable return LPC_inverse_pred_gain_QA( invGain_Q30, Atmp_QA, order ); } +#ifdef FIXED_POINT + /* For input in Q24 domain */ +/* This function is only used by the fixed-point build */ opus_int silk_LPC_inverse_pred_gain_Q24( /* O Returns 1 if unstable, otherwise 0 */ opus_int32 *invGain_Q30, /* O Inverse prediction gain, Q30 energy domain */ const opus_int32 *A_Q24, /* I Prediction coefficients, Q24 [order] */ @@ -152,4 +155,4 @@ opus_int silk_LPC_inverse_pred_gain_Q24( /* O Returns 1 if unstabl return LPC_inverse_pred_gain_QA( invGain_Q30, Atmp_QA, order ); } - +#endif diff --git a/silk/sort.c b/silk/sort.c index 1d92ed38..e5034f8c 100644 --- a/silk/sort.c +++ b/silk/sort.c @@ -83,6 +83,8 @@ void silk_insertion_sort_increasing( } } +#ifdef FIXED_POINT +/* This function is only used by the fixed-point build */ void silk_insertion_sort_decreasing_int16( opus_int16 *a, /* I/O Unsorted / Sorted vector */ opus_int *idx, /* O Index vector for the sorted elements */ @@ -128,6 +130,7 @@ void silk_insertion_sort_decreasing_int16( } } } +#endif void silk_insertion_sort_increasing_all_values_int16( opus_int16 *a, /* I/O Unsorted / Sorted vector */