summaryrefslogtreecommitdiff
path: root/silk/LPC_inv_pred_gain.c
diff options
context:
space:
mode:
authorJean-Marc Valin <jmvalin@jmvalin.ca>2011-10-28 23:20:55 -0400
committerJean-Marc Valin <jmvalin@jmvalin.ca>2011-10-28 23:20:55 -0400
commitd6cad7aa42f91854fad9eeb8593d520eae0a8cdf (patch)
treeec54cb5863368301a7cc88d1fd98617d0b17dcc2 /silk/LPC_inv_pred_gain.c
parent8fcfe02bc0f5f751c8ea2f6dd2027577331b1deb (diff)
downloadopus-d6cad7aa42f91854fad9eeb8593d520eae0a8cdf.tar.gz
Disabling some unused SILK functions from the float build
Diffstat (limited to 'silk/LPC_inv_pred_gain.c')
-rw-r--r--silk/LPC_inv_pred_gain.c5
1 files changed, 4 insertions, 1 deletions
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