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

Unified Diff: webrtc/api/call/audio_state.h

Issue 2456363002: Added audio mixer and removed audio device module in AudioState::Config. (Closed)
Patch Set: Removed default initializer. Created 4 years, 1 month 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/api/api.gyp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/api/call/audio_state.h
diff --git a/webrtc/api/call/audio_state.h b/webrtc/api/call/audio_state.h
index ac912773aa5fdeb12a59120b794c269605614050..1941cbf7bcd976c8aaabdf24709e6440d41443ac 100644
--- a/webrtc/api/call/audio_state.h
+++ b/webrtc/api/call/audio_state.h
@@ -10,6 +10,7 @@
#ifndef WEBRTC_API_CALL_AUDIO_STATE_H_
#define WEBRTC_API_CALL_AUDIO_STATE_H_
+#include "webrtc/api/audio/audio_mixer.h"
#include "webrtc/base/refcount.h"
#include "webrtc/base/scoped_ref_ptr.h"
@@ -33,8 +34,9 @@ class AudioState : public rtc::RefCountInterface {
// the AudioState itself.
VoiceEngine* voice_engine = nullptr;
- // The AudioDeviceModule associated with the Calls.
- AudioDeviceModule* audio_device_module = nullptr;
+ // The audio mixer connected to active receive streams. One per
+ // AudioState.
+ rtc::scoped_refptr<AudioMixer> audio_mixer;
};
// TODO(solenberg): Replace scoped_refptr with shared_ptr once we can use it.
« no previous file with comments | « webrtc/api/api.gyp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698