2020-05-12 10:48:19 +02:00
|
|
|
/*
|
|
|
|
|
* Copyright (c) 2020 The WebRTC project authors. All Rights Reserved.
|
|
|
|
|
*
|
|
|
|
|
* Use of this source code is governed by a BSD-style license
|
|
|
|
|
* that can be found in the LICENSE file in the root of the source
|
|
|
|
|
* tree. An additional intellectual property rights grant can be found
|
|
|
|
|
* in the file PATENTS. All contributing project authors may
|
|
|
|
|
* be found in the AUTHORS file in the root of the source tree.
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
#ifndef API_AUDIO_ECHO_DETECTOR_CREATOR_H_
|
|
|
|
|
#define API_AUDIO_ECHO_DETECTOR_CREATOR_H_
|
|
|
|
|
|
2024-04-19 15:07:08 +00:00
|
|
|
#include "api/audio/audio_processing.h"
|
2020-05-12 10:48:19 +02:00
|
|
|
#include "api/scoped_refptr.h"
|
|
|
|
|
|
|
|
|
|
namespace webrtc {
|
|
|
|
|
|
|
|
|
|
// Returns an instance of the WebRTC implementation of a residual echo detector.
|
2024-11-05 10:48:41 +01:00
|
|
|
// It can be provided to the webrtc::BuiltinAudioProcessingBuilder to obtain the
|
2020-05-12 10:48:19 +02:00
|
|
|
// usual residual echo metrics.
|
2024-11-05 10:48:41 +01:00
|
|
|
scoped_refptr<EchoDetector> CreateEchoDetector();
|
2020-05-12 10:48:19 +02:00
|
|
|
|
|
|
|
|
} // namespace webrtc
|
|
|
|
|
|
|
|
|
|
#endif // API_AUDIO_ECHO_DETECTOR_CREATOR_H_
|