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

Side by Side Diff: webrtc/modules/audio_coding/main/test/TestVADDTX.h

Issue 1308283003: Remove no-op and unused methods from AudioCodingModule (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 5 years, 4 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) 2011 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2011 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 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 81
82 void Perform() override; 82 void Perform() override;
83 83
84 private: 84 private:
85 void RunTestCases(); 85 void RunTestCases();
86 void Test(bool new_outfile); 86 void Test(bool new_outfile);
87 void SetVAD(bool enable_dtx, bool enable_vad, ACMVADMode vad_mode); 87 void SetVAD(bool enable_dtx, bool enable_vad, ACMVADMode vad_mode);
88 88
89 bool vad_enabled_; 89 bool vad_enabled_;
90 bool dtx_enabled_; 90 bool dtx_enabled_;
91 bool use_webrtc_dtx_;
92 int output_file_num_; 91 int output_file_num_;
93 }; 92 };
94 93
95 // TestOpusDtx is to verify that the Opus DTX performs as it should. 94 // TestOpusDtx is to verify that the Opus DTX performs as it should.
96 class TestOpusDtx final : public TestVadDtx { 95 class TestOpusDtx final : public TestVadDtx {
97 public: 96 public:
98 void Perform() override; 97 void Perform() override;
99 }; 98 };
100 99
101 } // namespace webrtc 100 } // namespace webrtc
102 101
103 #endif // WEBRTC_MODULES_AUDIO_CODING_MAIN_TEST_TESTVADDTX_H_ 102 #endif // WEBRTC_MODULES_AUDIO_CODING_MAIN_TEST_TESTVADDTX_H_
OLDNEW
« no previous file with comments | « webrtc/modules/audio_coding/main/test/APITest.cc ('k') | webrtc/modules/audio_coding/main/test/TestVADDTX.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698