Index: remoting/codec/audio_decoder.cc |
diff --git a/remoting/codec/audio_decoder.cc b/remoting/codec/audio_decoder.cc |
index 57a6e1c40230eed4f62171b322590cf49dc30a81..6e6a68672ce873b71e0bfb8f86ad210bb49c8c4b 100644 |
--- a/remoting/codec/audio_decoder.cc |
+++ b/remoting/codec/audio_decoder.cc |
@@ -5,6 +5,7 @@ |
#include "remoting/codec/audio_decoder.h" |
#include "base/logging.h" |
+#include "remoting/codec/audio_decoder_speex.h" |
#include "remoting/codec/audio_decoder_verbatim.h" |
#include "remoting/protocol/session_config.h" |
@@ -16,6 +17,8 @@ scoped_ptr<AudioDecoder> AudioDecoder::CreateAudioDecoder( |
if (audio_config.codec == protocol::ChannelConfig::CODEC_VERBATIM) { |
return scoped_ptr<AudioDecoder>(new AudioDecoderVerbatim()); |
+ } else if (audio_config.codec == protocol::ChannelConfig::CODEC_SPEEX) { |
+ return scoped_ptr<AudioDecoder>(new AudioDecoderSpeex()); |
} |
NOTIMPLEMENTED(); |