Index: webrtc/audio/audio_state.h |
diff --git a/webrtc/audio/audio_state.h b/webrtc/audio/audio_state.h |
index 31892d04faaa5141b9e25d9486553da4ce101b11..a02c9d8e0db2c1cbd476731bf71b82d4dc772b5c 100644 |
--- a/webrtc/audio/audio_state.h |
+++ b/webrtc/audio/audio_state.h |
@@ -11,6 +11,8 @@ |
#ifndef WEBRTC_AUDIO_AUDIO_STATE_H_ |
#define WEBRTC_AUDIO_AUDIO_STATE_H_ |
+#include <memory> |
+ |
#include "webrtc/api/call/audio_state.h" |
#include "webrtc/audio/scoped_voe_interface.h" |
#include "webrtc/base/constructormagic.h" |
@@ -28,6 +30,7 @@ class AudioState final : public webrtc::AudioState, |
~AudioState() override; |
VoiceEngine* voice_engine(); |
+ AudioDeviceModule* audio_device(); |
bool typing_noise_detected() const; |
private: |
@@ -53,6 +56,8 @@ class AudioState final : public webrtc::AudioState, |
// Reference count; implementation copied from rtc::RefCountedObject. |
mutable volatile int ref_count_ = 0; |
+ AudioTransport* mim_transport_ = nullptr; |
+ |
RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(AudioState); |
}; |
} // namespace internal |