Improve AV-sync when initial delay is set and NetEq has long buffer.
Review URL: https://webrtc-codereview.appspot.com/1324006
git-svn-id: http://webrtc.googlecode.com/svn/trunk@3883 4adac7df-926f-26a2-2b94-8c16560cd09d
diff --git a/webrtc/modules/audio_coding/neteq/dsp.h b/webrtc/modules/audio_coding/neteq/dsp.h
index d6e587e..9371938 100644
--- a/webrtc/modules/audio_coding/neteq/dsp.h
+++ b/webrtc/modules/audio_coding/neteq/dsp.h
@@ -422,24 +422,25 @@
* This function asks NetEQ for more speech/audio data.
*
* Input:
- * - inst : NetEQ instance, i.e. the user that requests more
- * speech/audio data.
- * - outdata : Pointer to a memory space where the output data
- * should be stored.
- * - BGNonly : If non-zero, RecOut will only produce background
- * noise. It will still draw packets from the packet
- * buffer, but they will never be decoded.
+ * - inst : NetEQ instance, i.e. the user that requests more
+ * speech/audio data.
+ * - outdata : Pointer to a memory space where the output data
+ * should be stored.
+ * - BGNonly : If non-zero, RecOut will only produce background
+ * noise. It will still draw packets from the packet
+ * buffer, but they will never be decoded.
+ * - av_sync : 1 if NetEQ is in AV-sync, 0 otherwise.
*
* Output:
- * - inst : Updated user information
- * - len : Number of samples that were outputted from NetEq
+ * - inst : Updated user information
+ * - len : Number of samples that were outputted from NetEq
*
- * Return value : 0 - Ok
- * -1 - Error
+ * Return value : 0 - Ok
+ * -1 - Error
*/
-int WebRtcNetEQ_RecOutInternal(DSPInst_t *inst, int16_t *pw16_outData, int16_t *pw16_len,
- int16_t BGNonly);
+int WebRtcNetEQ_RecOutInternal(DSPInst_t *inst, int16_t *pw16_outData,
+ int16_t *pw16_len, int16_t BGNonly, int av_sync);
/****************************************************************************
* WebRtcNetEQ_Normal(...)