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

Unified Diff: webrtc/modules/audio_device/android/audio_manager.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_manager.h
diff --git a/webrtc/modules/audio_device/android/audio_manager.h b/webrtc/modules/audio_device/android/audio_manager.h
index b4264a6f8cd9ec6a815a9483c9cefc1f6ef5463d..f974c54375fc2cdeafea3fb7475a88ec5be50670 100644
--- a/webrtc/modules/audio_device/android/audio_manager.h
+++ b/webrtc/modules/audio_device/android/audio_manager.h
@@ -84,6 +84,9 @@ class AudioManager {
bool IsAutomaticGainControlSupported() const;
bool IsNoiseSuppressorSupported() const;
+ // Returns true if the Intelligibility Enhancer was enabled from the Java API.
+ bool IsIntelligibilityEnhancerEnabled() const;
+
// Returns true if the device supports the low-latency audio paths in
// combination with OpenSL ES.
bool IsLowLatencyPlayoutSupported() const;
@@ -105,6 +108,7 @@ class AudioManager {
jboolean hardware_aec,
jboolean hardware_agc,
jboolean hardware_ns,
+ jboolean intelligibility,
jboolean low_latency_output,
jint output_buffer_size,
jint input_buffer_size,
@@ -115,6 +119,7 @@ class AudioManager {
jboolean hardware_aec,
jboolean hardware_agc,
jboolean hardware_ns,
+ jboolean intelligibility,
jboolean low_latency_output,
jint output_buffer_size,
jint input_buffer_size);
@@ -149,6 +154,9 @@ class AudioManager {
// True if device supports hardware (or built-in) NS.
bool hardware_ns_;
+ // True if the IE is enabled.
+ bool intelligibility_;
+
// True if device supports the low-latency OpenSL ES audio path.
bool low_latency_playout_;

Powered by Google App Engine
This is Rietveld 408576698