OLD | NEW |
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 |
(...skipping 11 matching lines...) Loading... |
22 #include "webrtc/base/platform_thread.h" | 22 #include "webrtc/base/platform_thread.h" |
23 #include "webrtc/base/timeutils.h" | 23 #include "webrtc/base/timeutils.h" |
24 #include "webrtc/common_types.h" | 24 #include "webrtc/common_types.h" |
25 #include "webrtc/modules/audio_coding/acm2/acm_common_defs.h" | 25 #include "webrtc/modules/audio_coding/acm2/acm_common_defs.h" |
26 #include "webrtc/modules/audio_coding/codecs/audio_format_conversion.h" | 26 #include "webrtc/modules/audio_coding/codecs/audio_format_conversion.h" |
27 #include "webrtc/modules/audio_coding/test/utility.h" | 27 #include "webrtc/modules/audio_coding/test/utility.h" |
28 #include "webrtc/system_wrappers/include/event_wrapper.h" | 28 #include "webrtc/system_wrappers/include/event_wrapper.h" |
29 #include "webrtc/system_wrappers/include/trace.h" | 29 #include "webrtc/system_wrappers/include/trace.h" |
30 #include "webrtc/test/gtest.h" | 30 #include "webrtc/test/gtest.h" |
31 #include "webrtc/test/testsupport/fileutils.h" | 31 #include "webrtc/test/testsupport/fileutils.h" |
32 #include "webrtc/voice_engine_configurations.h" | 32 #include "webrtc/typedefs.h" |
33 | 33 |
34 namespace webrtc { | 34 namespace webrtc { |
35 | 35 |
36 #define TEST_DURATION_SEC 600 | 36 #define TEST_DURATION_SEC 600 |
37 #define NUMBER_OF_SENDER_TESTS 6 | 37 #define NUMBER_OF_SENDER_TESTS 6 |
38 #define MAX_FILE_NAME_LENGTH_BYTE 500 | 38 #define MAX_FILE_NAME_LENGTH_BYTE 500 |
39 | 39 |
40 void APITest::Wait(uint32_t waitLengthMs) { | 40 void APITest::Wait(uint32_t waitLengthMs) { |
41 if (_randomTest) { | 41 if (_randomTest) { |
42 return; | 42 return; |
(...skipping 1063 matching lines...) Loading... |
1106 CHECK_ERROR_MT(myACM->RegisterSendCodec(myCodec)); | 1106 CHECK_ERROR_MT(myACM->RegisterSendCodec(myCodec)); |
1107 myChannel->ResetStats(); | 1107 myChannel->ResetStats(); |
1108 { | 1108 { |
1109 WriteLockScoped wl(_apiTestRWLock); | 1109 WriteLockScoped wl(_apiTestRWLock); |
1110 *thereIsEncoder = true; | 1110 *thereIsEncoder = true; |
1111 } | 1111 } |
1112 Wait(500); | 1112 Wait(500); |
1113 } | 1113 } |
1114 | 1114 |
1115 } // namespace webrtc | 1115 } // namespace webrtc |
OLD | NEW |