| 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/main/test/TestRedFec.h" | 11 #include "webrtc/modules/audio_coding/main/test/TestRedFec.h" |
| 12 | 12 |
| 13 #include <assert.h> | 13 #include <assert.h> |
| 14 | 14 |
| 15 #include "webrtc/common.h" | 15 #include "webrtc/common.h" |
| 16 #include "webrtc/common_types.h" | 16 #include "webrtc/common_types.h" |
| 17 #include "webrtc/engine_configurations.h" | 17 #include "webrtc/engine_configurations.h" |
| 18 #include "webrtc/modules/audio_coding/main/interface/audio_coding_module_typedef
s.h" | 18 #include "webrtc/modules/audio_coding/main/interface/audio_coding_module_typedef
s.h" |
| 19 #include "webrtc/modules/audio_coding/main/test/utility.h" | 19 #include "webrtc/modules/audio_coding/main/test/utility.h" |
| 20 #include "webrtc/system_wrappers/interface/trace.h" | 20 #include "webrtc/system_wrappers/include/trace.h" |
| 21 #include "webrtc/test/testsupport/fileutils.h" | 21 #include "webrtc/test/testsupport/fileutils.h" |
| 22 | 22 |
| 23 #ifdef SUPPORT_RED_WB | 23 #ifdef SUPPORT_RED_WB |
| 24 #undef SUPPORT_RED_WB | 24 #undef SUPPORT_RED_WB |
| 25 #endif | 25 #endif |
| 26 | 26 |
| 27 #ifdef SUPPORT_RED_SWB | 27 #ifdef SUPPORT_RED_SWB |
| 28 #undef SUPPORT_RED_SWB | 28 #undef SUPPORT_RED_SWB |
| 29 #endif | 29 #endif |
| 30 | 30 |
| (...skipping 436 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 467 std::string file_name; | 467 std::string file_name; |
| 468 std::stringstream file_stream; | 468 std::stringstream file_stream; |
| 469 file_stream << webrtc::test::OutputPath(); | 469 file_stream << webrtc::test::OutputPath(); |
| 470 file_stream << "TestRedFec_outFile_"; | 470 file_stream << "TestRedFec_outFile_"; |
| 471 file_stream << test_number << ".pcm"; | 471 file_stream << test_number << ".pcm"; |
| 472 file_name = file_stream.str(); | 472 file_name = file_stream.str(); |
| 473 _outFileB.Open(file_name, 16000, "wb"); | 473 _outFileB.Open(file_name, 16000, "wb"); |
| 474 } | 474 } |
| 475 | 475 |
| 476 } // namespace webrtc | 476 } // namespace webrtc |
| OLD | NEW |