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/iSACTest.h" | 11 #include "webrtc/modules/audio_coding/test/iSACTest.h" |
12 | 12 |
13 #include <ctype.h> | 13 #include <ctype.h> |
14 #include <stdio.h> | 14 #include <stdio.h> |
15 #include <string.h> | 15 #include <string.h> |
16 | 16 |
17 #ifdef _WIN32 | 17 #ifdef _WIN32 |
18 #include <windows.h> | 18 #include <windows.h> |
19 #elif defined(WEBRTC_LINUX) | 19 #elif defined(WEBRTC_LINUX) |
20 #include <time.h> | 20 #include <time.h> |
21 #else | 21 #else |
22 #include <sys/time.h> | 22 #include <sys/time.h> |
23 #include <time.h> | 23 #include <time.h> |
24 #endif | 24 #endif |
25 | 25 |
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" | |
30 #include "webrtc/test/testsupport/fileutils.h" | 29 #include "webrtc/test/testsupport/fileutils.h" |
31 | 30 |
32 namespace webrtc { | 31 namespace webrtc { |
33 | 32 |
34 void SetISACConfigDefault(ACMTestISACConfig& isacConfig) { | 33 void SetISACConfigDefault(ACMTestISACConfig& isacConfig) { |
35 isacConfig.currentRateBitPerSec = 0; | 34 isacConfig.currentRateBitPerSec = 0; |
36 isacConfig.currentFrameSizeMsec = 0; | 35 isacConfig.currentFrameSizeMsec = 0; |
37 isacConfig.encodingMode = -1; | 36 isacConfig.encodingMode = -1; |
38 isacConfig.initRateBitPerSec = 0; | 37 isacConfig.initRateBitPerSec = 0; |
39 isacConfig.initFrameSizeInMsec = 0; | 38 isacConfig.initFrameSizeInMsec = 0; |
(...skipping 300 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
340 numSendCodecChanged++; | 339 numSendCodecChanged++; |
341 } | 340 } |
342 } | 341 } |
343 _outFileA.Close(); | 342 _outFileA.Close(); |
344 _outFileB.Close(); | 343 _outFileB.Close(); |
345 _inFileA.Close(); | 344 _inFileA.Close(); |
346 _inFileB.Close(); | 345 _inFileB.Close(); |
347 } | 346 } |
348 | 347 |
349 } // namespace webrtc | 348 } // namespace webrtc |
OLD | NEW |