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

Side by Side Diff: webrtc/pc/test/fakeaudiocapturemodule.cc

Issue 2969623003: Update includes for webrtc/{base => rtc_base} rename (2/3) (Closed)
Patch Set: Rebased onto 224e65939af87443addfc5bb500fbf434728bd1c and restored sorting in clock.cc 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 2012 The WebRTC project authors. All Rights Reserved. 2 * Copyright 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 #include "webrtc/pc/test/fakeaudiocapturemodule.h" 11 #include "webrtc/pc/test/fakeaudiocapturemodule.h"
12 12
13 #include "webrtc/base/checks.h" 13 #include "webrtc/rtc_base/checks.h"
14 #include "webrtc/base/refcount.h" 14 #include "webrtc/rtc_base/refcount.h"
15 #include "webrtc/base/thread.h" 15 #include "webrtc/rtc_base/thread.h"
16 #include "webrtc/base/timeutils.h" 16 #include "webrtc/rtc_base/timeutils.h"
17 17
18 // Audio sample value that is high enough that it doesn't occur naturally when 18 // Audio sample value that is high enough that it doesn't occur naturally when
19 // frames are being faked. E.g. NetEq will not generate this large sample value 19 // frames are being faked. E.g. NetEq will not generate this large sample value
20 // unless it has received an audio frame containing a sample of this value. 20 // unless it has received an audio frame containing a sample of this value.
21 // Even simpler buffers would likely just contain audio sample values of 0. 21 // Even simpler buffers would likely just contain audio sample values of 0.
22 static const int kHighSampleValue = 10000; 22 static const int kHighSampleValue = 10000;
23 23
24 // Same value as src/modules/audio_device/main/source/audio_device_config.h in 24 // Same value as src/modules/audio_device/main/source/audio_device_config.h in
25 // https://code.google.com/p/webrtc/ 25 // https://code.google.com/p/webrtc/
26 static const int kAdmMaxIdleTimeProcess = 1000; 26 static const int kAdmMaxIdleTimeProcess = 1000;
(...skipping 688 matching lines...) Expand 10 before | Expand all | Expand 10 after
715 kNumberBytesPerSample, 715 kNumberBytesPerSample,
716 kNumberOfChannels, 716 kNumberOfChannels,
717 kSamplesPerSecond, kTotalDelayMs, 717 kSamplesPerSecond, kTotalDelayMs,
718 kClockDriftMs, current_mic_level, 718 kClockDriftMs, current_mic_level,
719 key_pressed, 719 key_pressed,
720 current_mic_level) != 0) { 720 current_mic_level) != 0) {
721 RTC_NOTREACHED(); 721 RTC_NOTREACHED();
722 } 722 }
723 SetMicrophoneVolume(current_mic_level); 723 SetMicrophoneVolume(current_mic_level);
724 } 724 }
OLDNEW
« no previous file with comments | « webrtc/pc/test/fakeaudiocapturemodule.h ('k') | webrtc/pc/test/fakeaudiocapturemodule_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698