blob: f1c03f32d6fda4e44ac73c9acb7c0a9c9c925bdc [file] [log] [blame]
andrew@webrtc.org25613ea2013-07-25 18:28:29 +00001/*
2 * Copyright (c) 2013 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_CANCELLATION_IMPL_WRAPPER_H_
12#define WEBRTC_MODULES_AUDIO_PROCESSING_ECHO_CANCELLATION_IMPL_WRAPPER_H_
13
14#include "webrtc/modules/audio_processing/include/audio_processing.h"
15#include "webrtc/modules/audio_processing/processing_component.h"
16
17namespace webrtc {
18
19class AudioProcessingImpl;
20class AudioBuffer;
21
22class EchoCancellationImplWrapper : public virtual EchoCancellation,
23 public virtual ProcessingComponent {
24 public:
25 static EchoCancellationImplWrapper* Create(
26 const AudioProcessingImpl* audioproc);
27 virtual ~EchoCancellationImplWrapper() {}
28
29 virtual int ProcessRenderAudio(const AudioBuffer* audio) = 0;
30 virtual int ProcessCaptureAudio(AudioBuffer* audio) = 0;
31};
32
33} // namespace webrtc
34
35#endif // WEBRTC_MODULES_AUDIO_PROCESSING_ECHO_CANCELLATION_IMPL_WRAPPER_H_