| 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 30 matching lines...) Expand all Loading... |
| 41 return; | 41 return; |
| 42 } else { | 42 } else { |
| 43 EventWrapper* myEvent = EventWrapper::Create(); | 43 EventWrapper* myEvent = EventWrapper::Create(); |
| 44 myEvent->Wait(waitLengthMs); | 44 myEvent->Wait(waitLengthMs); |
| 45 delete myEvent; | 45 delete myEvent; |
| 46 return; | 46 return; |
| 47 } | 47 } |
| 48 } | 48 } |
| 49 | 49 |
| 50 APITest::APITest() | 50 APITest::APITest() |
| 51 : _acmA(AudioCodingModule::Create(1)), | 51 : _acmA(AudioCodingModule::Create()), |
| 52 _acmB(AudioCodingModule::Create(2)), | 52 _acmB(AudioCodingModule::Create()), |
| 53 _channel_A2B(NULL), | 53 _channel_A2B(NULL), |
| 54 _channel_B2A(NULL), | 54 _channel_B2A(NULL), |
| 55 _writeToFile(true), | 55 _writeToFile(true), |
| 56 _pullEventA(NULL), | 56 _pullEventA(NULL), |
| 57 _pushEventA(NULL), | 57 _pushEventA(NULL), |
| 58 _processEventA(NULL), | 58 _processEventA(NULL), |
| 59 _apiEventA(NULL), | 59 _apiEventA(NULL), |
| 60 _pullEventB(NULL), | 60 _pullEventB(NULL), |
| 61 _pushEventB(NULL), | 61 _pushEventB(NULL), |
| 62 _processEventB(NULL), | 62 _processEventB(NULL), |
| (...skipping 1042 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1105 CHECK_ERROR_MT(myACM->RegisterSendCodec(myCodec)); | 1105 CHECK_ERROR_MT(myACM->RegisterSendCodec(myCodec)); |
| 1106 myChannel->ResetStats(); | 1106 myChannel->ResetStats(); |
| 1107 { | 1107 { |
| 1108 WriteLockScoped wl(_apiTestRWLock); | 1108 WriteLockScoped wl(_apiTestRWLock); |
| 1109 *thereIsEncoder = true; | 1109 *thereIsEncoder = true; |
| 1110 } | 1110 } |
| 1111 Wait(500); | 1111 Wait(500); |
| 1112 } | 1112 } |
| 1113 | 1113 |
| 1114 } // namespace webrtc | 1114 } // namespace webrtc |
| OLD | NEW |