Index: webrtc/audio/audio_state.cc |
diff --git a/webrtc/audio/audio_state.cc b/webrtc/audio/audio_state.cc |
index c15ddd7795013151bf51c095588ea3c16bc0d7dc..1750010f97f81fb40aa2edcecc5f9c5ec1efb13f 100644 |
--- a/webrtc/audio/audio_state.cc |
+++ b/webrtc/audio/audio_state.cc |
@@ -23,7 +23,7 @@ AudioState::AudioState(const AudioState::Config& config) |
: config_(config), |
voe_base_(config.voice_engine), |
audio_transport_proxy_(voe_base_->audio_transport(), |
- voe_base_->audio_processing(), |
+ config_.audio_processing.get(), |
config_.audio_mixer) { |
process_thread_checker_.DetachFromThread(); |
RTC_DCHECK(config_.audio_mixer); |