Integrate the built-in WASAPI AEC DMO to VoE.
Review URL: http://webrtc-codereview.appspot.com/108006
git-svn-id: http://webrtc.googlecode.com/svn/trunk@592 4adac7df-926f-26a2-2b94-8c16560cd09d
diff --git a/src/modules/audio_device/main/interface/audio_device.h b/src/modules/audio_device/main/interface/audio_device.h
index b534b4f..b60b695 100644
--- a/src/modules/audio_device/main/interface/audio_device.h
+++ b/src/modules/audio_device/main/interface/audio_device.h
@@ -184,6 +184,17 @@
virtual int32_t SetLoudspeakerStatus(bool enable) = 0;
virtual int32_t GetLoudspeakerStatus(bool* enabled) const = 0;
+ // *Experimental - not recommended for use.*
+ // Enables the Windows Core Audio built-in AEC. Fails on other platforms.
+ //
+ // Must be called before InitRecording(). When enabled:
+ // 1. StartPlayout() must be called before StartRecording().
+ // 2. StopRecording() should be called before StopPlayout().
+ // The reverse order may cause garbage audio to be rendered or the
+ // capture side to halt util StopRecording() is called.
+ virtual int32_t EnableBuiltInAEC(bool enable) { return -1; }
+ virtual bool BuiltInAECIsEnabled() const { return false; }
+
protected:
virtual ~AudioDeviceModule() {};
};