Index: webrtc/modules/audio_device/include/audio_device.h |
diff --git a/webrtc/modules/audio_device/include/audio_device.h b/webrtc/modules/audio_device/include/audio_device.h |
index d8df05cec89740b1ed7a1ad79cffcd74cd44b0ac..8457a6b7718707905e08ce0e176aeeaad1846d32 100644 |
--- a/webrtc/modules/audio_device/include/audio_device.h |
+++ b/webrtc/modules/audio_device/include/audio_device.h |
@@ -11,6 +11,7 @@ |
#ifndef MODULES_AUDIO_DEVICE_INCLUDE_AUDIO_DEVICE_H_ |
#define MODULES_AUDIO_DEVICE_INCLUDE_AUDIO_DEVICE_H_ |
+#include "webrtc/base/scoped_ref_ptr.h" |
#include "webrtc/modules/audio_device/include/audio_device_defines.h" |
#include "webrtc/modules/include/module.h" |
@@ -51,6 +52,11 @@ class AudioDeviceModule : public RefCountedModule { |
}; |
public: |
+ // Create an ADM. |
+ static rtc::scoped_refptr<AudioDeviceModule> Create( |
+ const int32_t id, |
+ const AudioLayer audio_layer); |
+ |
// Retrieve the currently utilized audio layer |
virtual int32_t ActiveAudioLayer(AudioLayer* audioLayer) const = 0; |