| Index: remoting/codec/audio_decoder.cc
|
| diff --git a/remoting/codec/audio_decoder.cc b/remoting/codec/audio_decoder.cc
|
| index 6e6a68672ce873b71e0bfb8f86ad210bb49c8c4b..3dc70c30276561794ed2df2dc4a5b72bf4630898 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_opus.h"
|
| #include "remoting/codec/audio_decoder_speex.h"
|
| #include "remoting/codec/audio_decoder_verbatim.h"
|
| #include "remoting/protocol/session_config.h"
|
| @@ -17,6 +18,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_OPUS) {
|
| + return scoped_ptr<AudioDecoder>(new AudioDecoderOpus());
|
| } else if (audio_config.codec == protocol::ChannelConfig::CODEC_SPEEX) {
|
| return scoped_ptr<AudioDecoder>(new AudioDecoderSpeex());
|
| }
|
|
|