| 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 |
| (...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 116 int target_loss_rate_; | 116 int target_loss_rate_; |
| 117 int sub_packets_; | 117 int sub_packets_; |
| 118 int application_; | 118 int application_; |
| 119 }; | 119 }; |
| 120 | 120 |
| 121 NetEqOpusQualityTest::NetEqOpusQualityTest() | 121 NetEqOpusQualityTest::NetEqOpusQualityTest() |
| 122 : NetEqQualityTest(kOpusBlockDurationMs * FLAGS_sub_packets, | 122 : NetEqQualityTest(kOpusBlockDurationMs * FLAGS_sub_packets, |
| 123 kOpusSamplingKhz, | 123 kOpusSamplingKhz, |
| 124 kOpusSamplingKhz, | 124 kOpusSamplingKhz, |
| 125 NetEqDecoder::kDecoderOpus), | 125 NetEqDecoder::kDecoderOpus), |
| 126 opus_encoder_(NULL), | 126 opus_encoder_(nullptr), |
| 127 repacketizer_(NULL), | 127 repacketizer_(nullptr), |
| 128 sub_block_size_samples_( | 128 sub_block_size_samples_( |
| 129 static_cast<size_t>(kOpusBlockDurationMs * kOpusSamplingKhz)), | 129 static_cast<size_t>(kOpusBlockDurationMs * kOpusSamplingKhz)), |
| 130 bit_rate_kbps_(FLAGS_bit_rate_kbps), | 130 bit_rate_kbps_(FLAGS_bit_rate_kbps), |
| 131 fec_(FLAGS_fec), | 131 fec_(FLAGS_fec), |
| 132 dtx_(FLAGS_dtx), | 132 dtx_(FLAGS_dtx), |
| 133 complexity_(FLAGS_complexity), | 133 complexity_(FLAGS_complexity), |
| 134 maxplaybackrate_(FLAGS_maxplaybackrate), | 134 maxplaybackrate_(FLAGS_maxplaybackrate), |
| 135 target_loss_rate_(FLAGS_reported_loss_rate), | 135 target_loss_rate_(FLAGS_reported_loss_rate), |
| 136 sub_packets_(FLAGS_sub_packets) { | 136 sub_packets_(FLAGS_sub_packets) { |
| 137 // Redefine decoder type if input is stereo. | 137 // Redefine decoder type if input is stereo. |
| (...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 205 EXPECT_GE(value, 0); | 205 EXPECT_GE(value, 0); |
| 206 return value; | 206 return value; |
| 207 } | 207 } |
| 208 | 208 |
| 209 TEST_F(NetEqOpusQualityTest, Test) { | 209 TEST_F(NetEqOpusQualityTest, Test) { |
| 210 Simulate(); | 210 Simulate(); |
| 211 } | 211 } |
| 212 | 212 |
| 213 } // namespace test | 213 } // namespace test |
| 214 } // namespace webrtc | 214 } // namespace webrtc |
| OLD | NEW |