andrew@webrtc.org | 25613ea | 2013-07-25 18:28:29 +0000 | [diff] [blame] | 1 | /* |
| 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 | |
| 17 | namespace webrtc { |
| 18 | |
| 19 | class AudioProcessingImpl; |
| 20 | class AudioBuffer; |
| 21 | |
| 22 | class 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_ |