Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(767)

Unified Diff: remoting/codec/audio_decoder.cc

Issue 10831246: Speex encoding/decoding. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Addressed comments Created 8 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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();

Powered by Google App Engine
This is Rietveld 408576698