Index: webrtc/modules/audio_processing/agc/legacy/gain_control.h |
diff --git a/webrtc/modules/audio_processing/agc/legacy/gain_control.h b/webrtc/modules/audio_processing/agc/legacy/gain_control.h |
index 08c1988f01172660c0369f82bd3519582efb0986..db942fe5ec17def919a67a03184a7168639bf968 100644 |
--- a/webrtc/modules/audio_processing/agc/legacy/gain_control.h |
+++ b/webrtc/modules/audio_processing/agc/legacy/gain_control.h |
@@ -50,6 +50,20 @@ extern "C" |
#endif |
/* |
+ * This function analyses the number of samples passed to |
+ * farend and produces any error code that could arise. |
+ * |
+ * Input: |
+ * - agcInst : AGC instance. |
+ * - samples : Number of samples in input vector. |
+ * |
+ * Return value: |
+ * : 0 - Normal operation. |
+ * : -1 - Error. |
+ */ |
+int WebRtcAgc_GetAddFarendError(void* state, size_t samples); |
+ |
+/* |
* This function processes a 10 ms frame of far-end speech to determine |
* if there is active speech. The length of the input speech vector must be |
* given in samples (80 when FS=8000, and 160 when FS=16000, FS=32000 or |