Index: remoting/host/chromoting_host.cc |
diff --git a/remoting/host/chromoting_host.cc b/remoting/host/chromoting_host.cc |
index c2f8f974b460d13fac0cc8cc4f266e62b90bfb5a..0c8755937d300f94ddcb39222894e4a3f196589b 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" |
@@ -433,6 +434,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(); |