Bump to WebRTC M120 release
Some API deprecation -- ExperimentalAgc and ExperimentalNs are gone. We're continuing to carry iSAC even though it's gone upstream, but maybe we'll want to drop that soon.
This commit is contained in:
@ -17,14 +17,19 @@
|
||||
namespace webrtc {
|
||||
|
||||
std::unique_ptr<TransientSuppressor> CreateTransientSuppressor(
|
||||
const ApmSubmoduleCreationOverrides& overrides) {
|
||||
const ApmSubmoduleCreationOverrides& overrides,
|
||||
TransientSuppressor::VadMode vad_mode,
|
||||
int sample_rate_hz,
|
||||
int detection_rate_hz,
|
||||
int num_channels) {
|
||||
#ifdef WEBRTC_EXCLUDE_TRANSIENT_SUPPRESSOR
|
||||
return nullptr;
|
||||
#else
|
||||
if (overrides.transient_suppression) {
|
||||
return nullptr;
|
||||
}
|
||||
return std::make_unique<TransientSuppressorImpl>();
|
||||
return std::make_unique<TransientSuppressorImpl>(
|
||||
vad_mode, sample_rate_hz, detection_rate_hz, num_channels);
|
||||
#endif
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user