PreemptiveExpand* PreemptiveExpandFactory::Create(
int sample_rate_hz,
size_t num_channels,
- const BackgroundNoise& background_noise) const {
- return new PreemptiveExpand(sample_rate_hz, num_channels, background_noise);
+ const BackgroundNoise& background_noise,
+ int overlap_samples) const {
+ return new PreemptiveExpand(
+ sample_rate_hz, num_channels, background_noise, overlap_samples);
}
} // namespace webrtc