Index: webrtc/modules/audio_device/include/fake_audio_device.h |
diff --git a/webrtc/modules/audio_device/include/fake_audio_device.h b/webrtc/modules/audio_device/include/fake_audio_device.h |
index 45bf45c18126696a1e79646473069cb0f71220ee..98fd2f46f63f991d76995dd3dd61302ebd869ed1 100644 |
--- a/webrtc/modules/audio_device/include/fake_audio_device.h |
+++ b/webrtc/modules/audio_device/include/fake_audio_device.h |
@@ -8,6 +8,9 @@ |
* be found in the AUTHORS file in the root of the source tree. |
*/ |
+#ifndef WEBRTC_MODULES_AUDIO_DEVICE_INCLUDE_FAKE_AUDIO_DEVICE_H_ |
+#define WEBRTC_MODULES_AUDIO_DEVICE_INCLUDE_FAKE_AUDIO_DEVICE_H_ |
+ |
#include "webrtc/modules/audio_device/include/audio_device.h" |
namespace webrtc { |
@@ -146,11 +149,21 @@ class FakeAudioDeviceModule : public AudioDeviceModule { |
virtual int32_t GetLoudspeakerStatus(bool* enabled) const { return 0; } |
virtual bool BuiltInAECIsAvailable() const { return false; } |
virtual int32_t EnableBuiltInAEC(bool enable) { return -1; } |
- virtual bool BuiltInAECIsEnabled() const { return false; } |
virtual bool BuiltInAGCIsAvailable() const { return false; } |
virtual int32_t EnableBuiltInAGC(bool enable) { return -1; } |
virtual bool BuiltInNSIsAvailable() const { return false; } |
virtual int32_t EnableBuiltInNS(bool enable) { return -1; } |
+ |
+#if defined(WEBRTC_IOS) |
+ virtual int GetPlayoutAudioParameters(AudioParameters* params) const { |
+ return -1; |
+ } |
+ virtual int GetRecordAudioParameters(AudioParameters* params) const { |
+ return -1; |
+ } |
+#endif // WEBRTC_IOS |
}; |
} // namespace webrtc |
+ |
+#endif // WEBRTC_MODULES_AUDIO_DEVICE_INCLUDE_FAKE_AUDIO_DEVICE_H_ |