| 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..aa51d092d0ffb323a261b7f4b280e159bd51d33c 100644
|
| --- a/webrtc/modules/audio_device/android/audio_manager.h
|
| +++ b/webrtc/modules/audio_device/android/audio_manager.h
|
| @@ -88,6 +88,10 @@ class AudioManager {
|
| // combination with OpenSL ES.
|
| bool IsLowLatencyPlayoutSupported() const;
|
|
|
| + // Returns true if the device supports pro-audio features in combination with
|
| + // OpenSL ES.
|
| + bool IsProAudioSupported() const;
|
| +
|
| // Returns the estimated total delay of this device. Unit is in milliseconds.
|
| // The vaule is set once at construction and never changes after that.
|
| // Possible values are webrtc::kLowLatencyModeDelayEstimateInMilliseconds and
|
| @@ -106,6 +110,7 @@ class AudioManager {
|
| jboolean hardware_agc,
|
| jboolean hardware_ns,
|
| jboolean low_latency_output,
|
| + jboolean pro_audio,
|
| jint output_buffer_size,
|
| jint input_buffer_size,
|
| jlong native_audio_manager);
|
| @@ -116,6 +121,7 @@ class AudioManager {
|
| jboolean hardware_agc,
|
| jboolean hardware_ns,
|
| jboolean low_latency_output,
|
| + jboolean pro_audio,
|
| jint output_buffer_size,
|
| jint input_buffer_size);
|
|
|
| @@ -152,6 +158,9 @@ class AudioManager {
|
| // True if device supports the low-latency OpenSL ES audio path.
|
| bool low_latency_playout_;
|
|
|
| + // True if device supports the low-latency OpenSL ES pro-audio path.
|
| + bool pro_audio_;
|
| +
|
| // The delay estimate can take one of two fixed values depending on if the
|
| // device supports low-latency output or not.
|
| int delay_estimate_in_milliseconds_;
|
|
|