Index: remoting/host/chromoting_host.cc |
diff --git a/remoting/host/chromoting_host.cc b/remoting/host/chromoting_host.cc |
index 4e84aaaecad94fa637046477ba3cd9b2a38ad6a2..ecc7630d194edbf9ed9927f09eeb5e4c18a60924 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" |
@@ -429,6 +430,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(); |