Index: webrtc/modules/audio_device/android/audio_record_jni.h |
diff --git a/webrtc/modules/audio_device/android/audio_record_jni.h b/webrtc/modules/audio_device/android/audio_record_jni.h |
index adf381e2d3075802d70eba21b8dd650655c265b7..efd516425a2fe669b6eee45fc6bc1450cc3b995f 100644 |
--- a/webrtc/modules/audio_device/android/audio_record_jni.h |
+++ b/webrtc/modules/audio_device/android/audio_record_jni.h |
@@ -53,6 +53,8 @@ class AudioRecordJni { |
bool StartRecording(); |
bool StopRecording(); |
bool EnableBuiltInAEC(bool enable); |
+ bool EnableBuiltInAGC(bool enable); |
+ bool EnableBuiltInNS(bool enable); |
private: |
rtc::scoped_ptr<GlobalRef> audio_record_; |
@@ -60,6 +62,8 @@ class AudioRecordJni { |
jmethodID start_recording_; |
jmethodID stop_recording_; |
jmethodID enable_built_in_aec_; |
+ jmethodID enable_built_in_agc_; |
+ jmethodID enable_built_in_ns_; |
}; |
explicit AudioRecordJni(AudioManager* audio_manager); |
@@ -78,6 +82,8 @@ class AudioRecordJni { |
void AttachAudioBuffer(AudioDeviceBuffer* audioBuffer); |
int32_t EnableBuiltInAEC(bool enable); |
+ int32_t EnableBuiltInAGC(bool enable); |
+ int32_t EnableBuiltInNS(bool enable); |
private: |
// Called from Java side so we can cache the address of the Java-manged |