Index: webrtc/modules/audio_processing/audio_processing_impl.cc |
diff --git a/webrtc/modules/audio_processing/audio_processing_impl.cc b/webrtc/modules/audio_processing/audio_processing_impl.cc |
index 0240012829ffc5d82d2ad55fea45e8225e52548b..0786ead34f8b1d6409dc580462c627036635560d 100644 |
--- a/webrtc/modules/audio_processing/audio_processing_impl.cc |
+++ b/webrtc/modules/audio_processing/audio_processing_impl.cc |
@@ -240,6 +240,11 @@ bool AudioProcessingImpl::ApmSubmoduleStates::CaptureMultiBandProcessingActive() |
echo_canceller3_enabled_; |
} |
+bool AudioProcessingImpl::ApmSubmoduleStates::CaptureFullBandProcessingActive() |
+ const { |
+ return level_controller_enabled_; |
+} |
+ |
bool AudioProcessingImpl::ApmSubmoduleStates::RenderMultiBandSubModulesActive() |
const { |
return RenderMultiBandProcessingActive() || echo_canceller_enabled_ || |
@@ -1133,7 +1138,8 @@ int AudioProcessingImpl::ProcessStream(AudioFrame* frame) { |
capture_.capture_audio->DeinterleaveFrom(frame); |
RETURN_ON_ERR(ProcessCaptureStreamLocked()); |
capture_.capture_audio->InterleaveTo( |
- frame, submodule_states_.CaptureMultiBandProcessingActive()); |
+ frame, submodule_states_.CaptureMultiBandProcessingActive() || |
+ submodule_states_.CaptureFullBandProcessingActive()); |
#ifdef WEBRTC_AUDIOPROC_DEBUG_DUMP |
if (debug_dump_.debug_file->is_open()) { |