| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
#ifndef API_AUDIO_ECHO_CANCELLER3_FACTORY_H_ |
| 12 |
#define API_AUDIO_ECHO_CANCELLER3_FACTORY_H_ |
| 13 |
|
| 14 |
#include <memory> |
| 15 |
|
| 16 |
#include "api/audio/echo_canceller3_config.h" |
| 17 |
#include "api/audio/echo_control.h" |
| 18 |
#include "rtc_base/system/rtc_export.h" |
| 19 |
|
| 20 |
namespace webrtc { |
| 21 |
|
| 22 |
class RTC_EXPORT EchoCanceller3Factory : public EchoControlFactory { |
| 23 |
public: |
| 24 |
|
| 25 |
EchoCanceller3Factory(); |
| 26 |
|
| 27 |
|
| 28 |
|
| 29 |
explicit EchoCanceller3Factory(const EchoCanceller3Config& config); |
| 30 |
|
| 31 |
|
| 32 |
std::unique_ptr<EchoControl> Create(int sample_rate_hz, |
| 33 |
int num_render_channels, |
| 34 |
int num_capture_channels) override; |
| 35 |
|
| 36 |
private: |
| 37 |
const EchoCanceller3Config config_; |
| 38 |
}; |
| 39 |
} |
| 40 |
|
| 41 |
#endif |