Index: webrtc/modules/audio_device/audio_device.cc |
diff --git a/webrtc/modules/audio_device/audio_device.cc b/webrtc/modules/audio_device/audio_device.cc |
new file mode 100644 |
index 0000000000000000000000000000000000000000..a5f713a68a9c8b7500afaeef68ef136f5f009c67 |
--- /dev/null |
+++ b/webrtc/modules/audio_device/audio_device.cc |
@@ -0,0 +1,28 @@ |
+/* |
+ * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. |
+ * |
+ * Use of this source code is governed by a BSD-style license |
+ * that can be found in the LICENSE file in the root of the source |
+ * tree. An additional intellectual property rights grant can be found |
+ * in the file PATENTS. All contributing project authors may |
+ * be found in the AUTHORS file in the root of the source tree. |
+ */ |
+ |
+#include "webrtc/modules/audio_device/include/audio_device.h" |
+ |
+#include "webrtc/modules/audio_device/include/audio_device_defines.h" |
+ |
+namespace webrtc { |
+ |
+#if defined(WEBRTC_IOS) |
+// Some AudioDeviceModule implementations do not care about these functions, so |
+// we provide default implementations. |
+int AudioDeviceModule::GetPlayoutAudioParameters( |
+ AudioParameters* params) const { |
+ return -1; |
+} |
+int AudioDeviceModule::GetRecordAudioParameters(AudioParameters* params) const { |
+ return -1; |
+} |
+#endif // WEBRTC_IOS |
+} // namespace webrtc |