Index: webrtc/modules/audio_coding/neteq/include/neteq.h |
diff --git a/webrtc/modules/audio_coding/neteq/include/neteq.h b/webrtc/modules/audio_coding/neteq/include/neteq.h |
index 89b0c543244536084d15bf4df08db51eebda6509..c49377193927a782be1f82d3f85693601530cac1 100644 |
--- a/webrtc/modules/audio_coding/neteq/include/neteq.h |
+++ b/webrtc/modules/audio_coding/neteq/include/neteq.h |
@@ -93,6 +93,7 @@ class NetEq { |
BackgroundNoiseMode background_noise_mode; |
NetEqPlayoutMode playout_mode; |
bool enable_fast_accelerate; |
+ bool enable_muted_state = false; |
}; |
enum ReturnCodes { |
@@ -162,7 +163,7 @@ class NetEq { |
// |vad_activity_| are updated upon success. If an error is returned, some |
// fields may not have been updated. |
// Returns kOK on success, or kFail in case of an error. |
- virtual int GetAudio(AudioFrame* audio_frame) = 0; |
+ virtual int GetAudio(AudioFrame* audio_frame, bool* muted_output) = 0; |
minyue-webrtc
2016/05/11 11:29:53
suggest name: output_muted or even simply muted.
hlundin-webrtc
2016/05/12 07:44:40
Done.
|
// Associates |rtp_payload_type| with |codec| and |codec_name|, and stores the |
// information in the codec database. Returns 0 on success, -1 on failure. |