| Index: webrtc/voice_engine/voe_hardware_impl.cc
|
| diff --git a/webrtc/voice_engine/voe_hardware_impl.cc b/webrtc/voice_engine/voe_hardware_impl.cc
|
| index b2bb87143e8532d7c2e8104e48921dd76872914d..9acbb5d9b3490a30a354fb9130205e0ffe2dba95 100644
|
| --- a/webrtc/voice_engine/voe_hardware_impl.cc
|
| +++ b/webrtc/voice_engine/voe_hardware_impl.cc
|
| @@ -480,6 +480,38 @@ int VoEHardwareImpl::EnableBuiltInAEC(bool enable) {
|
| return _shared->audio_device()->EnableBuiltInAEC(enable);
|
| }
|
|
|
| +bool VoEHardwareImpl::BuiltInAGCIsAvailable() const {
|
| + if (!_shared->statistics().Initialized()) {
|
| + _shared->SetLastError(VE_NOT_INITED, kTraceError);
|
| + return false;
|
| + }
|
| + return _shared->audio_device()->BuiltInAGCIsAvailable();
|
| +}
|
| +
|
| +int VoEHardwareImpl::EnableBuiltInAGC(bool enable) {
|
| + if (!_shared->statistics().Initialized()) {
|
| + _shared->SetLastError(VE_NOT_INITED, kTraceError);
|
| + return -1;
|
| + }
|
| + return _shared->audio_device()->EnableBuiltInAGC(enable);
|
| +}
|
| +
|
| +bool VoEHardwareImpl::BuiltInNSIsAvailable() const {
|
| + if (!_shared->statistics().Initialized()) {
|
| + _shared->SetLastError(VE_NOT_INITED, kTraceError);
|
| + return false;
|
| + }
|
| + return _shared->audio_device()->BuiltInNSIsAvailable();
|
| +}
|
| +
|
| +int VoEHardwareImpl::EnableBuiltInNS(bool enable) {
|
| + if (!_shared->statistics().Initialized()) {
|
| + _shared->SetLastError(VE_NOT_INITED, kTraceError);
|
| + return -1;
|
| + }
|
| + return _shared->audio_device()->EnableBuiltInNS(enable);
|
| +}
|
| +
|
| #endif // WEBRTC_VOICE_ENGINE_HARDWARE_API
|
|
|
| } // namespace webrtc
|
|
|