| Index: content/renderer/media/media_stream_audio_processor_options.cc
|
| diff --git a/content/renderer/media/media_stream_audio_processor_options.cc b/content/renderer/media/media_stream_audio_processor_options.cc
|
| index 537ef908b14a9e65f0773a95e2948354c11815b2..5f99c921d3ff133f9a0223fe674838afb2edcb56 100644
|
| --- a/content/renderer/media/media_stream_audio_processor_options.cc
|
| +++ b/content/renderer/media/media_stream_audio_processor_options.cc
|
| @@ -140,25 +140,6 @@ MediaAudioConstraints::MediaAudioConstraints(
|
|
|
| MediaAudioConstraints::~MediaAudioConstraints() {}
|
|
|
| -// TODO(xians): Remove this method after the APM in WebRtc is deprecated.
|
| -bool MediaAudioConstraints::NeedsAudioProcessing() {
|
| - if (GetEchoCancellationProperty())
|
| - return true;
|
| -
|
| - for (size_t i = 0; i < arraysize(kDefaultAudioConstraints); ++i) {
|
| - // |kEchoCancellation| and |kGoogEchoCancellation| have been convered by
|
| - // GetEchoCancellationProperty().
|
| - if (kDefaultAudioConstraints[i].key != kEchoCancellation &&
|
| - kDefaultAudioConstraints[i].key != kGoogEchoCancellation &&
|
| - IsAudioProcessingConstraint(kDefaultAudioConstraints[i].key) &&
|
| - GetProperty(kDefaultAudioConstraints[i].key)) {
|
| - return true;
|
| - }
|
| - }
|
| -
|
| - return false;
|
| -}
|
| -
|
| bool MediaAudioConstraints::GetProperty(const std::string& key) {
|
| // Return the value if the constraint is specified in |constraints|,
|
| // otherwise return the default value.
|
|
|