| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (c) 2013 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2013 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 // Test to verify correct stereo and multi-channel operation. | 11 // Test to verify correct stereo and multi-channel operation. |
| 12 | 12 |
| 13 #include <algorithm> | 13 #include <algorithm> |
| 14 #include <string> | 14 #include <string> |
| 15 #include <list> | 15 #include <list> |
| 16 | 16 |
| 17 #include "testing/gtest/include/gtest/gtest.h" | 17 #include "testing/gtest/include/gtest/gtest.h" |
| 18 #include "webrtc/base/scoped_ptr.h" | 18 #include "webrtc/base/scoped_ptr.h" |
| 19 #include "webrtc/modules/audio_coding/codecs/pcm16b/include/pcm16b.h" | 19 #include "webrtc/modules/audio_coding/codecs/pcm16b/pcm16b.h" |
| 20 #include "webrtc/modules/audio_coding/neteq/include/neteq.h" | 20 #include "webrtc/modules/audio_coding/neteq/include/neteq.h" |
| 21 #include "webrtc/modules/audio_coding/neteq/tools/input_audio_file.h" | 21 #include "webrtc/modules/audio_coding/neteq/tools/input_audio_file.h" |
| 22 #include "webrtc/modules/audio_coding/neteq/tools/rtp_generator.h" | 22 #include "webrtc/modules/audio_coding/neteq/tools/rtp_generator.h" |
| 23 #include "webrtc/test/testsupport/fileutils.h" | 23 #include "webrtc/test/testsupport/fileutils.h" |
| 24 #include "webrtc/test/testsupport/gtest_disable.h" | 24 #include "webrtc/test/testsupport/gtest_disable.h" |
| 25 | 25 |
| 26 namespace webrtc { | 26 namespace webrtc { |
| 27 | 27 |
| 28 struct TestParameters { | 28 struct TestParameters { |
| 29 int frame_size; | 29 int frame_size; |
| (...skipping 385 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 415 | 415 |
| 416 INSTANTIATE_TEST_CASE_P(MultiChannel, | 416 INSTANTIATE_TEST_CASE_P(MultiChannel, |
| 417 NetEqStereoTestDelays, | 417 NetEqStereoTestDelays, |
| 418 ::testing::ValuesIn(GetTestParameters())); | 418 ::testing::ValuesIn(GetTestParameters())); |
| 419 | 419 |
| 420 INSTANTIATE_TEST_CASE_P(MultiChannel, | 420 INSTANTIATE_TEST_CASE_P(MultiChannel, |
| 421 NetEqStereoTestLosses, | 421 NetEqStereoTestLosses, |
| 422 ::testing::ValuesIn(GetTestParameters())); | 422 ::testing::ValuesIn(GetTestParameters())); |
| 423 | 423 |
| 424 } // namespace webrtc | 424 } // namespace webrtc |
| OLD | NEW |