From 5c32a84620154a81ef983c23b1d3e6c957ad478a Mon Sep 17 00:00:00 2001 From: "tommi@webrtc.org" Date: Tue, 9 Dec 2014 19:59:27 +0000 Subject: [PATCH] Attempt to fix FYI bots. The FYI bots went red after https://webrtc-codereview.appspot.com/32179004/ landed. TBR=henrika@webrtc.org Review URL: https://webrtc-codereview.appspot.com/36369004 git-svn-id: http://webrtc.googlecode.com/svn/trunk@7853 4adac7df-926f-26a2-2b94-8c16560cd09d --- webrtc/modules/audio_device/include/audio_device.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/webrtc/modules/audio_device/include/audio_device.h b/webrtc/modules/audio_device/include/audio_device.h index 736ed3528..6c45fa7af 100644 --- a/webrtc/modules/audio_device/include/audio_device.h +++ b/webrtc/modules/audio_device/include/audio_device.h @@ -183,7 +183,8 @@ class AudioDeviceModule : public RefCountedModule { virtual int32_t GetLoudspeakerStatus(bool* enabled) const = 0; // Only supported on Android. - virtual bool BuiltInAECIsAvailable() const = 0; + // TODO(henrika): Make pure virtual after updating Chromium. + virtual bool BuiltInAECIsAvailable() const { return false; } // Enables the built-in AEC. Only supported on Windows and Android. // @@ -193,7 +194,8 @@ class AudioDeviceModule : public RefCountedModule { // 2. StopRecording() should be called before StopPlayout(). // The reverse order may cause garbage audio to be rendered or the // capture side to halt until StopRecording() is called. - virtual int32_t EnableBuiltInAEC(bool enable) = 0; + // TODO(henrika): Make pure virtual after updating Chromium. + virtual int32_t EnableBuiltInAEC(bool enable) { return -1; } // Don't use. virtual bool BuiltInAECIsEnabled() const { return false; }