Remove more traces of keyboard mic support from APM
The 6-parameter Initialize method is removed. The has_keyboard parameter in the StreamConfig constructor is removed together with the underlying member and helper functions. Bug: chromium:1271981, b/217349489 Change-Id: I7259a114a395f74f735a9c06510c0fc0f0f008e3 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/250221 Reviewed-by: Sam Zackrisson <saza@google.com> Reviewed-by: Sam Zackrisson <saza@webrtc.org> Auto-Submit: Henrik Lundin <henrik.lundin@webrtc.org> Commit-Queue: Henrik Lundin <henrik.lundin@webrtc.org> Cr-Commit-Position: refs/heads/main@{#35908}
This commit is contained in:
committed by
WebRTC LUCI CQ
parent
bb57e2d7aa
commit
64253a93dc
@ -77,7 +77,7 @@ void RunBitExactnessTest(int sample_rate_hz,
|
||||
analog_level_max, &gain_controller);
|
||||
|
||||
const int samples_per_channel = rtc::CheckedDivExact(sample_rate_hz, 100);
|
||||
const StreamConfig render_config(sample_rate_hz, num_channels, false);
|
||||
const StreamConfig render_config(sample_rate_hz, num_channels);
|
||||
AudioBuffer render_buffer(
|
||||
render_config.sample_rate_hz(), render_config.num_channels(),
|
||||
render_config.sample_rate_hz(), 1, render_config.sample_rate_hz(), 1);
|
||||
@ -85,7 +85,7 @@ void RunBitExactnessTest(int sample_rate_hz,
|
||||
test::GetApmRenderTestVectorFileName(sample_rate_hz));
|
||||
std::vector<float> render_input(samples_per_channel * num_channels);
|
||||
|
||||
const StreamConfig capture_config(sample_rate_hz, num_channels, false);
|
||||
const StreamConfig capture_config(sample_rate_hz, num_channels);
|
||||
AudioBuffer capture_buffer(
|
||||
capture_config.sample_rate_hz(), capture_config.num_channels(),
|
||||
capture_config.sample_rate_hz(), 1, capture_config.sample_rate_hz(), 1);
|
||||
|
||||
Reference in New Issue
Block a user