Index: webrtc/voice_engine/voe_video_sync_impl.cc |
diff --git a/webrtc/voice_engine/voe_video_sync_impl.cc b/webrtc/voice_engine/voe_video_sync_impl.cc |
index 5ff82abe1bc4407a9bd6a95bcca080fcd47c6109..e82cbb3b5eacd1c76890f4422e0a5dc834cecd9a 100644 |
--- a/webrtc/voice_engine/voe_video_sync_impl.cc |
+++ b/webrtc/voice_engine/voe_video_sync_impl.cc |
@@ -15,27 +15,17 @@ |
#include "webrtc/voice_engine/include/voe_errors.h" |
#include "webrtc/voice_engine/voice_engine_impl.h" |
-#ifndef WEBRTC_VOICE_ENGINE_VIDEO_SYNC_API |
-#error "Deprecated" |
-#endif |
- |
namespace webrtc { |
VoEVideoSync* VoEVideoSync::GetInterface(VoiceEngine* voiceEngine) { |
-#ifndef WEBRTC_VOICE_ENGINE_VIDEO_SYNC_API |
- return NULL; |
-#else |
if (NULL == voiceEngine) { |
return NULL; |
} |
VoiceEngineImpl* s = static_cast<VoiceEngineImpl*>(voiceEngine); |
s->AddRef(); |
return s; |
-#endif |
} |
-#ifdef WEBRTC_VOICE_ENGINE_VIDEO_SYNC_API |
- |
VoEVideoSyncImpl::VoEVideoSyncImpl(voe::SharedData* shared) : _shared(shared) { |
WEBRTC_TRACE(kTraceMemory, kTraceVoice, VoEId(_shared->instance_id(), -1), |
"VoEVideoSyncImpl::VoEVideoSyncImpl() - ctor"); |
@@ -188,6 +178,4 @@ int VoEVideoSyncImpl::GetLeastRequiredDelayMs(int channel) const { |
return channel_ptr->LeastRequiredDelayMs(); |
} |
-#endif // #ifdef WEBRTC_VOICE_ENGINE_VIDEO_SYNC_API |
- |
} // namespace webrtc |