Index: webrtc/modules/audio_coding/include/audio_coding_module.h |
diff --git a/webrtc/modules/audio_coding/include/audio_coding_module.h b/webrtc/modules/audio_coding/include/audio_coding_module.h |
index eb9d5b8866de1808f709a62191c37d3701b41364..daf9ac8ae9a5c72622d2944b6b1dcbed94935131 100644 |
--- a/webrtc/modules/audio_coding/include/audio_coding_module.h |
+++ b/webrtc/modules/audio_coding/include/audio_coding_module.h |
@@ -687,13 +687,24 @@ class AudioCodingModule { |
// and other relevant parameters, c.f. |
// module_common_types.h for the definition of |
// AudioFrame. |
+ // -muted : if true, the sample data in audio_frame is not |
+ // populated, and must be interpreted as all zero. |
// |
// Return value: |
// -1 if the function fails, |
// 0 if the function succeeds. |
// |
virtual int32_t PlayoutData10Ms(int32_t desired_freq_hz, |
- AudioFrame* audio_frame) = 0; |
+ AudioFrame* audio_frame, |
+ bool* muted) = 0; |
+ |
+ ///////////////////////////////////////////////////////////////////////////// |
+ // Same as above, but without the muted parameter. This methods should not be |
+ // used if enable_fast_accelerate was set to true in NetEq::Config. |
+ // TODO(henrik.lundin) Remove this method when downstream dependencies are |
+ // ready. |
+ virtual int32_t PlayoutData10Ms(int32_t desired_freq_hz, |
+ AudioFrame* audio_frame) = 0; |
/////////////////////////////////////////////////////////////////////////// |
// Codec specific |