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/include/pcm16b.h" |
20 #include "webrtc/modules/audio_coding/neteq/interface/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; |
30 int sample_rate; | 30 int sample_rate; |
(...skipping 382 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
413 | 413 |
414 INSTANTIATE_TEST_CASE_P(MultiChannel, | 414 INSTANTIATE_TEST_CASE_P(MultiChannel, |
415 NetEqStereoTestDelays, | 415 NetEqStereoTestDelays, |
416 ::testing::ValuesIn(GetTestParameters())); | 416 ::testing::ValuesIn(GetTestParameters())); |
417 | 417 |
418 INSTANTIATE_TEST_CASE_P(MultiChannel, | 418 INSTANTIATE_TEST_CASE_P(MultiChannel, |
419 NetEqStereoTestLosses, | 419 NetEqStereoTestLosses, |
420 ::testing::ValuesIn(GetTestParameters())); | 420 ::testing::ValuesIn(GetTestParameters())); |
421 | 421 |
422 } // namespace webrtc | 422 } // namespace webrtc |
OLD | NEW |