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

Side by Side Diff: webrtc/modules/audio_device/android/audio_record_jni.h

Issue 2969653002: Update includes for webrtc/{base => rtc_base} rename (1/3) (Closed)
Patch Set: Rebased onto 89c4a7e57d524b13fbe0c823a83a4c10c2e63bd0 Created 3 years, 5 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 unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2013 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2013 The WebRTC project authors. All Rights Reserved.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license 4 * Use of this source code is governed by a BSD-style license
5 * that can be found in the LICENSE file in the root of the source 5 * that can be found in the LICENSE file in the root of the source
6 * tree. An additional intellectual property rights grant can be found 6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may 7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree. 8 * be found in the AUTHORS file in the root of the source tree.
9 */ 9 */
10 10
11 #ifndef WEBRTC_MODULES_AUDIO_DEVICE_ANDROID_AUDIO_RECORD_JNI_H_ 11 #ifndef WEBRTC_MODULES_AUDIO_DEVICE_ANDROID_AUDIO_RECORD_JNI_H_
12 #define WEBRTC_MODULES_AUDIO_DEVICE_ANDROID_AUDIO_RECORD_JNI_H_ 12 #define WEBRTC_MODULES_AUDIO_DEVICE_ANDROID_AUDIO_RECORD_JNI_H_
13 13
14 #include <memory> 14 #include <memory>
15 15
16 #include <jni.h> 16 #include <jni.h>
17 17
18 #include "webrtc/base/thread_checker.h"
19 #include "webrtc/modules/audio_device/android/audio_manager.h" 18 #include "webrtc/modules/audio_device/android/audio_manager.h"
19 #include "webrtc/modules/audio_device/audio_device_generic.h"
20 #include "webrtc/modules/audio_device/include/audio_device_defines.h" 20 #include "webrtc/modules/audio_device/include/audio_device_defines.h"
21 #include "webrtc/modules/audio_device/audio_device_generic.h"
22 #include "webrtc/modules/utility/include/helpers_android.h" 21 #include "webrtc/modules/utility/include/helpers_android.h"
23 #include "webrtc/modules/utility/include/jvm_android.h" 22 #include "webrtc/modules/utility/include/jvm_android.h"
23 #include "webrtc/rtc_base/thread_checker.h"
24 24
25 namespace webrtc { 25 namespace webrtc {
26 26
27 // Implements 16-bit mono PCM audio input support for Android using the Java 27 // Implements 16-bit mono PCM audio input support for Android using the Java
28 // AudioRecord interface. Most of the work is done by its Java counterpart in 28 // AudioRecord interface. Most of the work is done by its Java counterpart in
29 // WebRtcAudioRecord.java. This class is created and lives on a thread in 29 // WebRtcAudioRecord.java. This class is created and lives on a thread in
30 // C++-land, but recorded audio buffers are delivered on a high-priority 30 // C++-land, but recorded audio buffers are delivered on a high-priority
31 // thread managed by the Java class. 31 // thread managed by the Java class.
32 // 32 //
33 // The Java class makes use of AudioEffect features (mainly AEC) which are 33 // The Java class makes use of AudioEffect features (mainly AEC) which are
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after
154 bool recording_; 154 bool recording_;
155 155
156 // Raw pointer handle provided to us in AttachAudioBuffer(). Owned by the 156 // Raw pointer handle provided to us in AttachAudioBuffer(). Owned by the
157 // AudioDeviceModuleImpl class and called by AudioDeviceModule::Create(). 157 // AudioDeviceModuleImpl class and called by AudioDeviceModule::Create().
158 AudioDeviceBuffer* audio_device_buffer_; 158 AudioDeviceBuffer* audio_device_buffer_;
159 }; 159 };
160 160
161 } // namespace webrtc 161 } // namespace webrtc
162 162
163 #endif // WEBRTC_MODULES_AUDIO_DEVICE_ANDROID_AUDIO_RECORD_JNI_H_ 163 #endif // WEBRTC_MODULES_AUDIO_DEVICE_ANDROID_AUDIO_RECORD_JNI_H_
OLDNEW
« 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