Chromium Code Reviews| Index: talk/app/webrtc/localaudiosource.cc |
| diff --git a/talk/app/webrtc/localaudiosource.cc b/talk/app/webrtc/localaudiosource.cc |
| index b37d1e3e41f8a704309465f25577adcc225ca578..b79c78de7fefc5bf0da6c8cc187b16a6cad363f1 100644 |
| --- a/talk/app/webrtc/localaudiosource.cc |
| +++ b/talk/app/webrtc/localaudiosource.cc |
| @@ -58,8 +58,10 @@ void FromConstraints(const MediaConstraintsInterface::Constraints& constraints, |
| if (iter->key == MediaConstraintsInterface::kEchoCancellation) |
| options->echo_cancellation.Set(value); |
| else if (iter->key == |
| - MediaConstraintsInterface::kExperimentalEchoCancellation) |
| - options->experimental_aec.Set(value); |
| + MediaConstraintsInterface::kExperimentalEchoCancellation || |
| + iter->key == |
| + MediaConstraintsInterface::kExtendedFilterEchoCancellation) |
|
bjornv1
2015/06/05 13:59:04
How about a comment/TODO to why you do this, even
hlundin-webrtc
2015/06/08 11:36:33
Done.
|
| + options->extended_filter_aec.Set(value); |
| else if (iter->key == MediaConstraintsInterface::kDAEchoCancellation) |
| options->delay_agnostic_aec.Set(value); |
| else if (iter->key == MediaConstraintsInterface::kAutoGainControl) |