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

Unified Diff: webrtc/audio/audio_receive_stream.cc

Issue 2378143004: Made AudioReceiveStream a mixer participant. (Closed)
Patch Set: 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
Index: webrtc/audio/audio_receive_stream.cc
diff --git a/webrtc/audio/audio_receive_stream.cc b/webrtc/audio/audio_receive_stream.cc
index 57e62f50fd05984a60acaa188325904eea03a8ad..9721c73e81f02817b68acb2682e8b0f547092163 100644
--- a/webrtc/audio/audio_receive_stream.cc
+++ b/webrtc/audio/audio_receive_stream.cc
@@ -271,6 +271,11 @@ bool AudioReceiveStream::DeliverRtp(const uint8_t* packet,
return channel_proxy_->ReceivedRTPPacket(packet, length, packet_time);
}
+MixerAudioSource::AudioFrameWithMuted
+AudioReceiveStream::GetAudioFrameWithMuted(int32_t id, int sample_rate_hz) {
+ return channel_proxy_->GetAudioFrameWithMuted(id, sample_rate_hz);
+}
+
VoiceEngine* AudioReceiveStream::voice_engine() const {
internal::AudioState* audio_state =
static_cast<internal::AudioState*>(audio_state_.get());

Powered by Google App Engine
This is Rietveld 408576698