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

Unified Diff: webrtc/audio/audio_receive_stream.cc

Issue 2448113009: Add a NeededFrequency() method to the AudioMixer::Source interface. (Closed)
Patch Set: 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/audio/audio_receive_stream.cc
diff --git a/webrtc/audio/audio_receive_stream.cc b/webrtc/audio/audio_receive_stream.cc
index 12b8b3f7ad568582c1fb45b912c328b7b74b2deb..97f898e8bcb8270124daf500dc4e97a5fe7a950b 100644
--- a/webrtc/audio/audio_receive_stream.cc
+++ b/webrtc/audio/audio_receive_stream.cc
@@ -278,6 +278,10 @@ AudioMixer::Source::AudioFrameInfo AudioReceiveStream::GetAudioFrameWithInfo(
return channel_proxy_->GetAudioFrameWithInfo(sample_rate_hz, audio_frame);
}
+int AudioReceiveStream::NeededFrequency() const {
+ return channel_proxy_->NeededFrequency();
+}
+
int AudioReceiveStream::Ssrc() {
return config_.rtp.local_ssrc;
}

Powered by Google App Engine
This is Rietveld 408576698