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

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

Issue 2119633004: Adds support for OpenSL ES based audio capture on Android (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Rebased Created 4 years, 3 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 808417ca9d8439fac5adc0f0e8c2e1e0a76ffc7b..341d426e418bc99d7ed4c7297f1759f3d036c14a 100644
--- a/webrtc/modules/audio_device/android/audio_manager.h
+++ b/webrtc/modules/audio_device/android/audio_manager.h
@@ -101,6 +101,7 @@ class AudioManager {
// Returns true if the device supports the low-latency audio paths in
// combination with OpenSL ES.
bool IsLowLatencyPlayoutSupported() const;
+ bool IsLowLatencyRecordSupported() const;
// Returns true if the device supports pro-audio features in combination with
// OpenSL ES.
@@ -124,6 +125,7 @@ class AudioManager {
jboolean hardware_agc,
jboolean hardware_ns,
jboolean low_latency_output,
+ jboolean low_latency_input,
jboolean pro_audio,
jint output_buffer_size,
jint input_buffer_size,
@@ -135,6 +137,7 @@ class AudioManager {
jboolean hardware_agc,
jboolean hardware_ns,
jboolean low_latency_output,
+ jboolean low_latency_input,
jboolean pro_audio,
jint output_buffer_size,
jint input_buffer_size);
@@ -178,9 +181,12 @@ class AudioManager {
// True if device supports hardware (or built-in) NS.
bool hardware_ns_;
- // True if device supports the low-latency OpenSL ES audio path.
+ // True if device supports the low-latency OpenSL ES audio path for output.
bool low_latency_playout_;
+ // True if device supports the low-latency OpenSL ES audio path for input.
+ bool low_latency_record_;
+
// True if device supports the low-latency OpenSL ES pro-audio path.
bool pro_audio_;

Powered by Google App Engine
This is Rietveld 408576698