Reland "Deprecate the adaptive level controller"
This is a reland of 6f37ed78d99daa36e964ff0a65b205f0916d9949 CQ dry run OK except for missing iOS swarming bots. NOTRY=True Original change's description: > Deprecate the adaptive level controller > > Level control handled by default-on AGC. > > Bug: none > Change-Id: I405daeceece12c896d41156b649fcfd556726f77 > Reviewed-on: https://webrtc-review.googlesource.com/59682 > Reviewed-by: Fredrik Solenberg <solenberg@webrtc.org> > Reviewed-by: Alex Loiko <aleloi@webrtc.org> > Commit-Queue: Sam Zackrisson <saza@webrtc.org> > Cr-Commit-Position: refs/heads/master@{#22305} Bug: none Change-Id: I0b9b8e2f3457d5efd4603efbfbbc6b84651df315 Reviewed-on: https://webrtc-review.googlesource.com/60720 Commit-Queue: Sam Zackrisson <saza@webrtc.org> Reviewed-by: Fredrik Solenberg <solenberg@webrtc.org> Reviewed-by: Alex Loiko <aleloi@webrtc.org> Cr-Commit-Position: refs/heads/master@{#22352}
This commit is contained in:
committed by
Commit Bot
parent
e6826d2461
commit
ab1aee0be4
@ -484,31 +484,6 @@ TEST_F(DebugDumpTest, VerifyAec3ExperimentalString) {
|
||||
}
|
||||
}
|
||||
|
||||
TEST_F(DebugDumpTest, VerifyLevelControllerExperimentalString) {
|
||||
Config config;
|
||||
AudioProcessing::Config apm_config;
|
||||
apm_config.level_controller.enabled = true;
|
||||
DebugDumpGenerator generator(config, apm_config);
|
||||
generator.StartRecording();
|
||||
generator.Process(100);
|
||||
generator.StopRecording();
|
||||
|
||||
DebugDumpReplayer debug_dump_replayer_;
|
||||
|
||||
ASSERT_TRUE(debug_dump_replayer_.SetDumpFile(generator.dump_file_name()));
|
||||
|
||||
while (const rtc::Optional<audioproc::Event> event =
|
||||
debug_dump_replayer_.GetNextEvent()) {
|
||||
debug_dump_replayer_.RunNextEvent();
|
||||
if (event->type() == audioproc::Event::CONFIG) {
|
||||
const audioproc::Config* msg = &event->config();
|
||||
ASSERT_TRUE(msg->has_experiments_description());
|
||||
EXPECT_PRED_FORMAT2(testing::IsSubstring, "LevelController",
|
||||
msg->experiments_description().c_str());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
TEST_F(DebugDumpTest, VerifyAgcClippingLevelExperimentalString) {
|
||||
Config config;
|
||||
// Arbitrarily set clipping gain to 17, which will never be the default.
|
||||
|
||||
Reference in New Issue
Block a user