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

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

Issue 1344563002: Improving support for Android Audio Effects in WebRTC (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Improved comments Created 5 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_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
« no previous file with comments | « webrtc/modules/audio_device/android/audio_manager_unittest.cc ('k') | webrtc/modules/audio_device/android/audio_record_jni.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698