Index: webrtc/modules/audio_coding/codecs/opus/opus_inst.h |
diff --git a/webrtc/modules/audio_coding/codecs/opus/opus_inst.h b/webrtc/modules/audio_coding/codecs/opus/opus_inst.h |
index 373db392a6f3acbfeca4bca22f481aed56bffd82..256c3fd2feb67d7f4160faf375ec9c37a2aa5786 100644 |
--- a/webrtc/modules/audio_coding/codecs/opus/opus_inst.h |
+++ b/webrtc/modules/audio_coding/codecs/opus/opus_inst.h |
@@ -15,7 +15,13 @@ |
struct WebRtcOpusEncInst { |
OpusEncoder* encoder; |
+ int channels; |
int in_dtx_mode; |
+ // Count consecutive zeros during DTX. We break long zero segment to prevent |
+ // DTX from going wrong. |
+ size_t* zero_counts; |
+ // For buffering input, to allow modification to the input signal. |
+ int16_t* buffer; |
}; |
struct WebRtcOpusDecInst { |