Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(757)

Unified Diff: webrtc/audio/audio_state.h

Issue 2969213002: External APM usage downstream dependency support cleanup (Closed)
Patch Set: Changes in response to reviewer commments Created 3 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | webrtc/audio/audio_state.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/audio/audio_state.h
diff --git a/webrtc/audio/audio_state.h b/webrtc/audio/audio_state.h
index 8a98d5739ef2e2811935c9a96a4cafbd724d8132..cc38f0bcb70e5035543cf305d2dc8da8ff7e8b7e 100644
--- a/webrtc/audio/audio_state.h
+++ b/webrtc/audio/audio_state.h
@@ -28,11 +28,9 @@ class AudioState final : public webrtc::AudioState,
explicit AudioState(const AudioState::Config& config);
~AudioState() override;
- // TODO(peah): Remove the conditional when upstream dependencies have properly
- // been resolved.
AudioProcessing* audio_processing() override {
- return config_.audio_processing ? config_.audio_processing.get()
- : voe_base_->audio_processing();
+ RTC_DCHECK(config_.audio_processing);
+ return config_.audio_processing.get();
}
VoiceEngine* voice_engine();
« no previous file with comments | « no previous file | webrtc/audio/audio_state.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698