Index: webrtc/voice_engine/voe_codec_impl.cc |
diff --git a/webrtc/voice_engine/voe_codec_impl.cc b/webrtc/voice_engine/voe_codec_impl.cc |
index 365a0195fa003204aa355f7d303935da05c1f43c..2022024536c164b13b9d77825940a7e579b279d1 100644 |
--- a/webrtc/voice_engine/voe_codec_impl.cc |
+++ b/webrtc/voice_engine/voe_codec_impl.cc |
@@ -17,27 +17,17 @@ |
#include "webrtc/voice_engine/include/voe_errors.h" |
#include "webrtc/voice_engine/voice_engine_impl.h" |
-#ifndef WEBRTC_VOICE_ENGINE_CODEC_API |
-#error "Deprecated" |
-#endif |
- |
namespace webrtc { |
VoECodec* VoECodec::GetInterface(VoiceEngine* voiceEngine) { |
-#ifndef WEBRTC_VOICE_ENGINE_CODEC_API |
- return NULL; |
-#else |
if (NULL == voiceEngine) { |
return NULL; |
} |
VoiceEngineImpl* s = static_cast<VoiceEngineImpl*>(voiceEngine); |
s->AddRef(); |
return s; |
-#endif |
} |
-#ifdef WEBRTC_VOICE_ENGINE_CODEC_API |
- |
VoECodecImpl::VoECodecImpl(voe::SharedData* shared) : _shared(shared) { |
WEBRTC_TRACE(kTraceMemory, kTraceVoice, VoEId(_shared->instance_id(), -1), |
"VoECodecImpl() - ctor"); |
@@ -398,6 +388,4 @@ int VoECodecImpl::GetOpusDtxStatus(int channel, bool* enabled) { |
return channelPtr->GetOpusDtx(enabled); |
} |
-#endif // WEBRTC_VOICE_ENGINE_CODEC_API |
- |
} // namespace webrtc |