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

Unified Diff: webrtc/modules/audio_device/android/audio_device_template.h

Issue 1952123003: Surface the IntelligibilityEnhancer on MediaConstraints (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 4 years, 7 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/modules/audio_device/android/audio_device_template.h
diff --git a/webrtc/modules/audio_device/android/audio_device_template.h b/webrtc/modules/audio_device/android/audio_device_template.h
index 719b4bdd360b4ba7ba896990781e1c6f29ba5267..efb7353d2de5622e5a13e117ffe87964198ba4e7 100644
--- a/webrtc/modules/audio_device/android/audio_device_template.h
+++ b/webrtc/modules/audio_device/android/audio_device_template.h
@@ -482,6 +482,11 @@ class AudioDeviceTemplate : public AudioDeviceGeneric {
return input_.EnableBuiltInNS(enable);
}
+ // Returns true if the Intelligibility Enhancer is enabled
+ bool IntelligibilityIsEnabled() const override {
+ return audio_manager_->IsIntelligibilityEnhancerEnabled();
+ }
+
private:
rtc::ThreadChecker thread_checker_;

Powered by Google App Engine
This is Rietveld 408576698