Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(781)

Unified Diff: webrtc/audio/audio_state.h

Issue 2383023003: Test upload to see if the ADM is passed correctly to audio_state. (Closed)
Patch Set: forgot send-stream config Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webrtc/audio/audio_send_stream_unittest.cc ('k') | webrtc/audio/audio_state.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « webrtc/audio/audio_send_stream_unittest.cc ('k') | webrtc/audio/audio_state.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698