Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(40)

Side by Side Diff: webrtc/modules/audio_coding/neteq/test/neteq_isac_quality_test.cc

Issue 1921653002: Enable -Winconsistent-missing-override flag. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Rebase. Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 25 matching lines...) Expand all
36 static const bool bit_rate_dummy = 36 static const bool bit_rate_dummy =
37 RegisterFlagValidator(&FLAGS_bit_rate_kbps, &ValidateBitRate); 37 RegisterFlagValidator(&FLAGS_bit_rate_kbps, &ValidateBitRate);
38 38
39 } // namespace 39 } // namespace
40 40
41 class NetEqIsacQualityTest : public NetEqQualityTest { 41 class NetEqIsacQualityTest : public NetEqQualityTest {
42 protected: 42 protected:
43 NetEqIsacQualityTest(); 43 NetEqIsacQualityTest();
44 void SetUp() override; 44 void SetUp() override;
45 void TearDown() override; 45 void TearDown() override;
46 virtual int EncodeBlock(int16_t* in_data, size_t block_size_samples, 46 int EncodeBlock(int16_t* in_data, size_t block_size_samples,
47 rtc::Buffer* payload, size_t max_bytes); 47 rtc::Buffer* payload, size_t max_bytes) override;
48 private: 48 private:
49 ISACFIX_MainStruct* isac_encoder_; 49 ISACFIX_MainStruct* isac_encoder_;
50 int bit_rate_kbps_; 50 int bit_rate_kbps_;
51 }; 51 };
52 52
53 NetEqIsacQualityTest::NetEqIsacQualityTest() 53 NetEqIsacQualityTest::NetEqIsacQualityTest()
54 : NetEqQualityTest(kIsacBlockDurationMs, 54 : NetEqQualityTest(kIsacBlockDurationMs,
55 kIsacInputSamplingKhz, 55 kIsacInputSamplingKhz,
56 kIsacOutputSamplingKhz, 56 kIsacOutputSamplingKhz,
57 NetEqDecoder::kDecoderISAC), 57 NetEqDecoder::kDecoderISAC),
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
98 EXPECT_GT(value, 0); 98 EXPECT_GT(value, 0);
99 return value; 99 return value;
100 } 100 }
101 101
102 TEST_F(NetEqIsacQualityTest, Test) { 102 TEST_F(NetEqIsacQualityTest, Test) {
103 Simulate(); 103 Simulate();
104 } 104 }
105 105
106 } // namespace test 106 } // namespace test
107 } // namespace webrtc 107 } // namespace webrtc
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698