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

Unified Diff: webrtc/voice_engine/channel_proxy.h

Issue 2378143004: Made AudioReceiveStream a mixer participant. (Closed)
Patch Set: Rebase after mixer interface changes. Created 4 years, 2 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
Index: webrtc/voice_engine/channel_proxy.h
diff --git a/webrtc/voice_engine/channel_proxy.h b/webrtc/voice_engine/channel_proxy.h
index 1d0116d969d8cbfe3dbb7e990110e01f2d876c0a..45c0fab8673a076eff1c0fe3410056f842c8da47 100644
--- a/webrtc/voice_engine/channel_proxy.h
+++ b/webrtc/voice_engine/channel_proxy.h
@@ -11,6 +11,7 @@
#ifndef WEBRTC_VOICE_ENGINE_CHANNEL_PROXY_H_
#define WEBRTC_VOICE_ENGINE_CHANNEL_PROXY_H_
+#include "webrtc/api/audio/audio_mixer.h"
#include "webrtc/base/constructormagic.h"
#include "webrtc/base/thread_checker.h"
#include "webrtc/voice_engine/channel_manager.h"
@@ -94,10 +95,14 @@ class ChannelProxy {
virtual void SetRtcpRttStats(RtcpRttStats* rtcp_rtt_stats);
+ virtual AudioMixer::Source::AudioFrameWithInfo GetAudioFrameWithInfo(
+ int sample_rate_hz);
+
private:
Channel* channel() const;
rtc::ThreadChecker thread_checker_;
+ rtc::ThreadChecker mixer_callback_thread_checker_;
the sun 2016/10/13 12:16:56 Use an rtc::RaceChecker here instead, and use i.e.
aleloi 2016/10/13 13:34:56 Then I had an incorrect understanding of the threa
the sun 2016/10/13 13:51:33 Acknowledged.
ChannelOwner channel_owner_;
RTC_DISALLOW_COPY_AND_ASSIGN(ChannelProxy);

Powered by Google App Engine
This is Rietveld 408576698