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

Unified Diff: remoting/host/chromoting_host.cc

Issue 10831246: Speex encoding/decoding. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Addressed comments Created 8 years, 4 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: remoting/host/chromoting_host.cc
diff --git a/remoting/host/chromoting_host.cc b/remoting/host/chromoting_host.cc
index 1d209694ba71613cb8df338d8c0a37b077093172..d81d4402214785cf51d89b1287f9a14f0037a3c3 100644
--- a/remoting/host/chromoting_host.cc
+++ b/remoting/host/chromoting_host.cc
@@ -14,6 +14,7 @@
#include "remoting/base/encoder_row_based.h"
#include "remoting/base/encoder_vp8.h"
#include "remoting/codec/audio_encoder.h"
+#include "remoting/codec/audio_encoder_speex.h"
#include "remoting/codec/audio_encoder_verbatim.h"
#include "remoting/host/audio_scheduler.h"
#include "remoting/host/chromoting_host_context.h"
@@ -443,6 +444,8 @@ scoped_ptr<AudioEncoder> ChromotingHost::CreateAudioEncoder(
if (audio_config.codec == protocol::ChannelConfig::CODEC_VERBATIM) {
return scoped_ptr<AudioEncoder>(new AudioEncoderVerbatim());
+ } else if (audio_config.codec == protocol::ChannelConfig::CODEC_SPEEX) {
+ return scoped_ptr<AudioEncoder>(new AudioEncoderSpeex());
}
NOTIMPLEMENTED();

Powered by Google App Engine
This is Rietveld 408576698