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

Unified Diff: webrtc/audio/audio_state.h

Issue 2948763002: Allow an external audio processing module to be used in WebRTC (Closed)
Patch Set: tracking linux32_rel issue Created 3 years, 6 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
Index: webrtc/audio/audio_state.h
diff --git a/webrtc/audio/audio_state.h b/webrtc/audio/audio_state.h
index 29b5a9edbf2591267777f796d51439159318b0bb..48e3817a6168305ef373b670f3697dc86f4b5c55 100644
--- a/webrtc/audio/audio_state.h
+++ b/webrtc/audio/audio_state.h
@@ -28,8 +28,11 @@ class AudioState final : public webrtc::AudioState,
explicit AudioState(const AudioState::Config& config);
~AudioState() override;
- VoiceEngine* voice_engine();
+ AudioProcessing* audio_processing() override {
+ return config_.audio_processing.get();
+ }
+ VoiceEngine* voice_engine();
rtc::scoped_refptr<AudioMixer> mixer();
bool typing_noise_detected() const;

Powered by Google App Engine
This is Rietveld 408576698