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

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

Issue 1944883002: Move ADM Create() method to public interface. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 4 years, 7 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
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after
149 // one sample of PCM mono data at 16 bits per sample. Hence, each audio 149 // one sample of PCM mono data at 16 bits per sample. Hence, each audio
150 // frame contains 2 bytes (given that the Java layer only supports mono). 150 // frame contains 2 bytes (given that the Java layer only supports mono).
151 // Example: 480 for 48000 Hz or 441 for 44100 Hz. 151 // Example: 480 for 48000 Hz or 441 for 44100 Hz.
152 size_t frames_per_buffer_; 152 size_t frames_per_buffer_;
153 153
154 bool initialized_; 154 bool initialized_;
155 155
156 bool recording_; 156 bool recording_;
157 157
158 // Raw pointer handle provided to us in AttachAudioBuffer(). Owned by the 158 // Raw pointer handle provided to us in AttachAudioBuffer(). Owned by the
159 // AudioDeviceModuleImpl class and called by AudioDeviceModuleImpl::Create(). 159 // AudioDeviceModuleImpl class and called by AudioDeviceModule::Create().
160 AudioDeviceBuffer* audio_device_buffer_; 160 AudioDeviceBuffer* audio_device_buffer_;
161 }; 161 };
162 162
163 } // namespace webrtc 163 } // namespace webrtc
164 164
165 #endif // WEBRTC_MODULES_AUDIO_DEVICE_ANDROID_AUDIO_RECORD_JNI_H_ 165 #endif // WEBRTC_MODULES_AUDIO_DEVICE_ANDROID_AUDIO_RECORD_JNI_H_
OLDNEW
« no previous file with comments | « webrtc/modules/audio_device/android/audio_device_unittest.cc ('k') | webrtc/modules/audio_device/android/audio_track_jni.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698