| Index: webrtc/modules/audio_processing/include/audio_processing.h
|
| diff --git a/webrtc/modules/audio_processing/include/audio_processing.h b/webrtc/modules/audio_processing/include/audio_processing.h
|
| index 2163a9ecf21338d2dc4d27d45c778f3923f9386f..80b7b4d2f3caf7efe4e1f3c19f473538e5fbec12 100644
|
| --- a/webrtc/modules/audio_processing/include/audio_processing.h
|
| +++ b/webrtc/modules/audio_processing/include/audio_processing.h
|
| @@ -66,11 +66,19 @@ struct ExtendedFilter {
|
| // and not EchoControlMobile and is set with AudioProcessing::SetExtraOptions().
|
| // Note that by disabling reported system delays the EchoCancellation may
|
| // regress in performance.
|
| +// TODO(henrik.lundin): Remove ReportedDelay once DelayAgnostic has
|
| +// propagated through to all channels
|
| +// (https://code.google.com/p/webrtc/issues/detail?id=4651).
|
| struct ReportedDelay {
|
| ReportedDelay() : enabled(true) {}
|
| explicit ReportedDelay(bool enabled) : enabled(enabled) {}
|
| bool enabled;
|
| };
|
| +struct DelayAgnostic {
|
| + DelayAgnostic() : enabled(false) {}
|
| + explicit DelayAgnostic(bool enabled) : enabled(enabled) {}
|
| + bool enabled;
|
| +};
|
|
|
| // Use to enable experimental gain control (AGC). At startup the experimental
|
| // AGC moves the microphone volume up to |startup_min_volume| if the current
|
|
|