diff options
author | kxing@chromium.org <kxing@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-08-21 21:11:31 +0000 |
---|---|---|
committer | kxing@chromium.org <kxing@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-08-21 21:11:31 +0000 |
commit | 77d4fd891c07a98429aecb96362ac0e28cdd1984 (patch) | |
tree | f8234ce86e5e148e6360d83e6dfd1d00d0ea34b4 /remoting/host/chromoting_host.cc | |
parent | 48e6b5c64d48ca00a4c7e85c4d1e509518ef6f22 (diff) | |
download | chromium_src-77d4fd891c07a98429aecb96362ac0e28cdd1984.zip chromium_src-77d4fd891c07a98429aecb96362ac0e28cdd1984.tar.gz chromium_src-77d4fd891c07a98429aecb96362ac0e28cdd1984.tar.bz2 |
Speex encoding/decoding.
Review URL: https://chromiumcodereview.appspot.com/10831246
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@152637 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting/host/chromoting_host.cc')
-rw-r--r-- | remoting/host/chromoting_host.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/remoting/host/chromoting_host.cc b/remoting/host/chromoting_host.cc index 1d20969..d81d440 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(); |