diff acelp_vectors.h @ 11647:26aabf52f578 libavcodec

Split the input/output data arguments to ff_adaptive_gain_control().
author rbultje
date Wed, 21 Apr 2010 17:43:52 +0000
parents c2e19a511e26
children dc394a1cc943
line wrap: on
line diff
--- a/acelp_vectors.h	Wed Apr 21 13:19:00 2010 +0000
+++ b/acelp_vectors.h	Wed Apr 21 17:43:52 2010 +0000
@@ -214,13 +214,14 @@
 /**
  * Adaptive gain control (as used in AMR postfiltering)
  *
- * @param buf_out the input speech buffer
+ * @param out output buffer for filtered speech data
+ * @param in the input speech buffer (may be the same as out)
  * @param speech_energ input energy
  * @param size the input buffer size
  * @param alpha exponential filter factor
  * @param gain_mem a pointer to the filter memory (single float of size)
  */
-void ff_adaptive_gain_control(float *buf_out, float speech_energ,
+void ff_adaptive_gain_control(float *out, const float *in, float speech_energ,
                               int size, float alpha, float *gain_mem);
 
 /**