| 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 |
| 11 #include "webrtc/modules/audio_coding/test/APITest.h" | 11 #include "webrtc/modules/audio_coding/test/APITest.h" |
| 12 | 12 |
| 13 #include <ctype.h> | 13 #include <ctype.h> |
| 14 #include <stdio.h> | 14 #include <stdio.h> |
| 15 #include <stdlib.h> | 15 #include <stdlib.h> |
| 16 #include <string.h> | 16 #include <string.h> |
| 17 | 17 |
| 18 #include <iostream> | 18 #include <iostream> |
| 19 #include <ostream> | 19 #include <ostream> |
| 20 #include <string> | 20 #include <string> |
| 21 | 21 |
| 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" | |
| 26 #include "webrtc/modules/audio_coding/codecs/audio_format_conversion.h" | 25 #include "webrtc/modules/audio_coding/codecs/audio_format_conversion.h" |
| 27 #include "webrtc/modules/audio_coding/test/utility.h" | 26 #include "webrtc/modules/audio_coding/test/utility.h" |
| 28 #include "webrtc/system_wrappers/include/event_wrapper.h" | 27 #include "webrtc/system_wrappers/include/event_wrapper.h" |
| 29 #include "webrtc/system_wrappers/include/trace.h" | 28 #include "webrtc/system_wrappers/include/trace.h" |
| 30 #include "webrtc/test/gtest.h" | 29 #include "webrtc/test/gtest.h" |
| 31 #include "webrtc/test/testsupport/fileutils.h" | 30 #include "webrtc/test/testsupport/fileutils.h" |
| 32 #include "webrtc/typedefs.h" | 31 #include "webrtc/typedefs.h" |
| 33 | 32 |
| 34 namespace webrtc { | 33 namespace webrtc { |
| 35 | 34 |
| (...skipping 1070 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1106 CHECK_ERROR_MT(myACM->RegisterSendCodec(myCodec)); | 1105 CHECK_ERROR_MT(myACM->RegisterSendCodec(myCodec)); |
| 1107 myChannel->ResetStats(); | 1106 myChannel->ResetStats(); |
| 1108 { | 1107 { |
| 1109 WriteLockScoped wl(_apiTestRWLock); | 1108 WriteLockScoped wl(_apiTestRWLock); |
| 1110 *thereIsEncoder = true; | 1109 *thereIsEncoder = true; |
| 1111 } | 1110 } |
| 1112 Wait(500); | 1111 Wait(500); |
| 1113 } | 1112 } |
| 1114 | 1113 |
| 1115 } // namespace webrtc | 1114 } // namespace webrtc |
| OLD | NEW |