Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 /* | |
| 2 * Copyright (c) 2016 The WebRTC project authors. All Rights Reserved. | |
| 3 * | |
| 4 * Use of this source code is governed by a BSD-style license | |
| 5 * that can be found in the LICENSE file in the root of the source | |
| 6 * tree. An additional intellectual property rights grant can be found | |
| 7 * in the file PATENTS. All contributing project authors may | |
| 8 * be found in the AUTHORS file in the root of the source tree. | |
| 9 */ | |
| 10 | |
| 11 #ifndef WEBRTC_MODULES_AUDIO_PROCESSING_ECHO_DETECTOR_ECHO_DETECTOR_H_ | |
| 12 #define WEBRTC_MODULES_AUDIO_PROCESSING_ECHO_DETECTOR_ECHO_DETECTOR_H_ | |
| 13 | |
| 14 #include <stddef.h> | |
| 15 #include "webrtc/base/array_view.h" | |
| 16 | |
| 17 namespace webrtc { | |
| 18 | |
| 19 class EchoDetector { | |
| 20 public: | |
| 21 EchoDetector() {} | |
| 22 ~EchoDetector() {} | |
| 23 | |
| 24 void BufferFarend(const rtc::ArrayView<const float>& farend); | |
|
hlundin-webrtc
2016/10/14 12:36:21
The typical pattern is to pass the ArrayView by va
kwiberg-webrtc
2016/10/14 13:15:24
That's right---the ArrayView itself just points to
ivoc
2016/10/14 14:45:35
Ok, done.
| |
| 25 | |
| 26 void Process(const rtc::ArrayView<const float>& nearend); | |
|
hlundin-webrtc
2016/10/14 12:36:21
Same here.
ivoc
2016/10/14 14:45:35
Done.
| |
| 27 | |
| 28 void Initialize(int sample_rate_hz); | |
| 29 }; | |
| 30 | |
| 31 } // namespace webrtc | |
| 32 | |
| 33 #endif // WEBRTC_MODULES_AUDIO_PROCESSING_ECHO_DETECTOR_ECHO_DETECTOR_H_ | |
| OLD | NEW |