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 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
60 * (sendCodec->plfreq / 1000); | 60 * (sendCodec->plfreq / 1000); |
61 } | 61 } |
62 EXPECT_EQ(0, acm->RegisterSendCodec(*sendCodec)); | 62 EXPECT_EQ(0, acm->RegisterSendCodec(*sendCodec)); |
63 } | 63 } |
64 } | 64 } |
65 | 65 |
66 return 0; | 66 return 0; |
67 } | 67 } |
68 | 68 |
69 ISACTest::ISACTest(int testMode) | 69 ISACTest::ISACTest(int testMode) |
70 : _acmA(AudioCodingModule::Create(1)), | 70 : _acmA(AudioCodingModule::Create()), |
71 _acmB(AudioCodingModule::Create(2)), | 71 _acmB(AudioCodingModule::Create()), |
72 _testMode(testMode) {} | 72 _testMode(testMode) {} |
73 | 73 |
74 ISACTest::~ISACTest() {} | 74 ISACTest::~ISACTest() {} |
75 | 75 |
76 void ISACTest::Setup() { | 76 void ISACTest::Setup() { |
77 int codecCntr; | 77 int codecCntr; |
78 CodecInst codecParam; | 78 CodecInst codecParam; |
79 | 79 |
80 for (codecCntr = 0; codecCntr < AudioCodingModule::NumberOfCodecs(); | 80 for (codecCntr = 0; codecCntr < AudioCodingModule::NumberOfCodecs(); |
81 codecCntr++) { | 81 codecCntr++) { |
(...skipping 257 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
339 numSendCodecChanged++; | 339 numSendCodecChanged++; |
340 } | 340 } |
341 } | 341 } |
342 _outFileA.Close(); | 342 _outFileA.Close(); |
343 _outFileB.Close(); | 343 _outFileB.Close(); |
344 _inFileA.Close(); | 344 _inFileA.Close(); |
345 _inFileB.Close(); | 345 _inFileB.Close(); |
346 } | 346 } |
347 | 347 |
348 } // namespace webrtc | 348 } // namespace webrtc |
OLD | NEW |