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

Side by Side Diff: webrtc/modules/audio_device/audio_device_buffer.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) 2012 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2012 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_AUDIO_DEVICE_BUFFER_H_ 11 #ifndef WEBRTC_MODULES_AUDIO_DEVICE_AUDIO_DEVICE_BUFFER_H_
12 #define WEBRTC_MODULES_AUDIO_DEVICE_AUDIO_DEVICE_BUFFER_H_ 12 #define WEBRTC_MODULES_AUDIO_DEVICE_AUDIO_DEVICE_BUFFER_H_
13 13
14 #include "webrtc/base/buffer.h"
15 #include "webrtc/base/criticalsection.h"
16 #include "webrtc/base/task_queue.h"
17 #include "webrtc/base/thread_annotations.h"
18 #include "webrtc/base/thread_checker.h"
19 #include "webrtc/modules/audio_device/include/audio_device.h" 14 #include "webrtc/modules/audio_device/include/audio_device.h"
15 #include "webrtc/rtc_base/buffer.h"
16 #include "webrtc/rtc_base/criticalsection.h"
17 #include "webrtc/rtc_base/task_queue.h"
18 #include "webrtc/rtc_base/thread_annotations.h"
19 #include "webrtc/rtc_base/thread_checker.h"
20 #include "webrtc/system_wrappers/include/file_wrapper.h" 20 #include "webrtc/system_wrappers/include/file_wrapper.h"
21 #include "webrtc/typedefs.h" 21 #include "webrtc/typedefs.h"
22 22
23 namespace webrtc { 23 namespace webrtc {
24 24
25 // Delta times between two successive playout callbacks are limited to this 25 // Delta times between two successive playout callbacks are limited to this
26 // value before added to an internal array. 26 // value before added to an internal array.
27 const size_t kMaxDeltaTimeInMs = 500; 27 const size_t kMaxDeltaTimeInMs = 500;
28 // TODO(henrika): remove when no longer used by external client. 28 // TODO(henrika): remove when no longer used by external client.
29 const size_t kMaxBufferSizeBytes = 3840; // 10ms in stereo @ 96kHz 29 const size_t kMaxBufferSizeBytes = 3840; // 10ms in stereo @ 96kHz
(...skipping 226 matching lines...) Expand 10 before | Expand all | Expand 10 after
256 // Should *never* be defined in production builds. Only used for testing. 256 // Should *never* be defined in production builds. Only used for testing.
257 // When defined, the output signal will be replaced by a sinus tone at 440Hz. 257 // When defined, the output signal will be replaced by a sinus tone at 440Hz.
258 #ifdef AUDIO_DEVICE_PLAYS_SINUS_TONE 258 #ifdef AUDIO_DEVICE_PLAYS_SINUS_TONE
259 double phase_ ACCESS_ON(playout_thread_checker_); 259 double phase_ ACCESS_ON(playout_thread_checker_);
260 #endif 260 #endif
261 }; 261 };
262 262
263 } // namespace webrtc 263 } // namespace webrtc
264 264
265 #endif // WEBRTC_MODULES_AUDIO_DEVICE_AUDIO_DEVICE_BUFFER_H_ 265 #endif // WEBRTC_MODULES_AUDIO_DEVICE_AUDIO_DEVICE_BUFFER_H_
OLDNEW
« no previous file with comments | « webrtc/modules/audio_device/android/opensles_recorder.cc ('k') | webrtc/modules/audio_device/audio_device_buffer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698