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

Unified Diff: voice_engine/channel_proxy.cc

Issue 3015553002: Remove voe::OutputMixer and AudioConferenceMixer. (Closed)
Patch Set: remove conference mixer from presubmit.py Created 3 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 | « voice_engine/channel_proxy.h ('k') | voice_engine/output_mixer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: voice_engine/channel_proxy.cc
diff --git a/voice_engine/channel_proxy.cc b/voice_engine/channel_proxy.cc
index f6013c2540de1e023c4281606b2e77380442d015..15db60d9b9bb8603bfb6fd749783718c4d0a63c6 100644
--- a/voice_engine/channel_proxy.cc
+++ b/voice_engine/channel_proxy.cc
@@ -257,9 +257,9 @@ AudioMixer::Source::AudioFrameInfo ChannelProxy::GetAudioFrameWithInfo(
return channel()->GetAudioFrameWithInfo(sample_rate_hz, audio_frame);
}
-int ChannelProxy::NeededFrequency() const {
+int ChannelProxy::PreferredSampleRate() const {
RTC_DCHECK_RUNS_SERIALIZED(&audio_thread_race_checker_);
- return static_cast<int>(channel()->NeededFrequency(-1));
+ return channel()->PreferredSampleRate();
}
void ChannelProxy::SetTransportOverhead(int transport_overhead_per_packet) {
« no previous file with comments | « voice_engine/channel_proxy.h ('k') | voice_engine/output_mixer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698