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

Unified Diff: webrtc/voice_engine/channel_proxy.cc

Issue 2705093002: Injectable audio encoders: WebRtcVoiceEngine and company (Closed)
Patch Set: Created 3 years, 10 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
« webrtc/voice_engine/channel.cc ('K') | « webrtc/voice_engine/channel_proxy.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/voice_engine/channel_proxy.cc
diff --git a/webrtc/voice_engine/channel_proxy.cc b/webrtc/voice_engine/channel_proxy.cc
index 4e690fb62f071d6483feb0d90d4de9d52a62964a..a6102e308333a0cb70adeffb27290805adb4fe0d 100644
--- a/webrtc/voice_engine/channel_proxy.cc
+++ b/webrtc/voice_engine/channel_proxy.cc
@@ -28,6 +28,12 @@ ChannelProxy::ChannelProxy(const ChannelOwner& channel_owner) :
ChannelProxy::~ChannelProxy() {}
+bool ChannelProxy::SetSendFormat(int payload_type,
+ const SdpAudioFormat& format,
+ AudioEncoderFactory* factory) {
+ return channel()->SetSendFormat(payload_type, format, factory);
+}
+
void ChannelProxy::SetRTCPStatus(bool enable) {
RTC_DCHECK(worker_thread_checker_.CalledOnValidThread());
channel()->SetRTCPStatus(enable);
@@ -206,6 +212,10 @@ const rtc::scoped_refptr<AudioDecoderFactory>&
return channel()->GetAudioDecoderFactory();
}
+AudioCodingModule& ChannelProxy::GetAudioCodingModule() {
+ return channel()->GetAudioCodingModule();
+}
+
void ChannelProxy::SetChannelOutputVolumeScaling(float scaling) {
RTC_DCHECK(worker_thread_checker_.CalledOnValidThread());
int error = channel()->SetChannelOutputVolumeScaling(scaling);
« webrtc/voice_engine/channel.cc ('K') | « webrtc/voice_engine/channel_proxy.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698