| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (c) 2014 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2014 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 "testing/gtest/include/gtest/gtest.h" | 11 #include "testing/gtest/include/gtest/gtest.h" |
| 12 #include "webrtc/base/scoped_ptr.h" | 12 #include "webrtc/base/scoped_ptr.h" |
| 13 #include "webrtc/modules/audio_coding/codecs/opus/interface/opus_interface.h" | 13 #include "webrtc/modules/audio_coding/codecs/opus/include/opus_interface.h" |
| 14 #include "webrtc/test/testsupport/fileutils.h" | 14 #include "webrtc/test/testsupport/fileutils.h" |
| 15 | 15 |
| 16 using ::std::string; | 16 using ::std::string; |
| 17 using ::std::tr1::tuple; | 17 using ::std::tr1::tuple; |
| 18 using ::std::tr1::get; | 18 using ::std::tr1::get; |
| 19 using ::testing::TestWithParam; | 19 using ::testing::TestWithParam; |
| 20 | 20 |
| 21 namespace webrtc { | 21 namespace webrtc { |
| 22 | 22 |
| 23 // Define coding parameter as <channels, bit_rate, filename, extension>. | 23 // Define coding parameter as <channels, bit_rate, filename, extension>. |
| (...skipping 207 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 231 ::std::tr1::make_tuple(1, 32000, string("audio_coding/testfile32kHz"), | 231 ::std::tr1::make_tuple(1, 32000, string("audio_coding/testfile32kHz"), |
| 232 string("pcm")), | 232 string("pcm")), |
| 233 ::std::tr1::make_tuple(2, 64000, string("audio_coding/teststereo32kHz"), | 233 ::std::tr1::make_tuple(2, 64000, string("audio_coding/teststereo32kHz"), |
| 234 string("pcm"))}; | 234 string("pcm"))}; |
| 235 | 235 |
| 236 // 64 kbps, stereo | 236 // 64 kbps, stereo |
| 237 INSTANTIATE_TEST_CASE_P(AllTest, OpusFecTest, | 237 INSTANTIATE_TEST_CASE_P(AllTest, OpusFecTest, |
| 238 ::testing::ValuesIn(param_set)); | 238 ::testing::ValuesIn(param_set)); |
| 239 | 239 |
| 240 } // namespace webrtc | 240 } // namespace webrtc |
| OLD | NEW |