Add comments to clarify argument meanings in APM impl test
Bug: webrtc:10608 Change-Id: Iac1111b739458a1b0ce1cac5e59de06905c085d2 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/135574 Commit-Queue: Fredrik Hernqvist <fhernqvist@webrtc.org> Reviewed-by: Alessio Bazzica <alessiob@webrtc.org> Cr-Commit-Position: refs/heads/master@{#27891}
This commit is contained in:

committed by
Commit Bot

parent
035ee11f78
commit
bf47f340ee
@ -240,11 +240,15 @@ TEST(AudioProcessingImplTest,
|
||||
MockEchoControl* echo_control_mock = echo_control_factory_ptr->GetNext();
|
||||
|
||||
EXPECT_CALL(*echo_control_mock, AnalyzeCapture(NotNull())).Times(1);
|
||||
EXPECT_CALL(*echo_control_mock, ProcessCapture(NotNull(), false)).Times(1);
|
||||
EXPECT_CALL(*echo_control_mock,
|
||||
ProcessCapture(NotNull(), /*echo_path_change=*/false))
|
||||
.Times(1);
|
||||
apm->ProcessStream(&frame);
|
||||
|
||||
EXPECT_CALL(*echo_control_mock, AnalyzeCapture(NotNull())).Times(1);
|
||||
EXPECT_CALL(*echo_control_mock, ProcessCapture(NotNull(), true)).Times(1);
|
||||
EXPECT_CALL(*echo_control_mock,
|
||||
ProcessCapture(NotNull(), /*echo_path_change=*/true))
|
||||
.Times(1);
|
||||
apm->SetRuntimeSetting(
|
||||
AudioProcessing::RuntimeSetting::CreateCapturePreGain(2.f));
|
||||
apm->ProcessStream(&frame);
|
||||
|
Reference in New Issue
Block a user