Index: webrtc/voice_engine/voe_file_impl.cc |
diff --git a/webrtc/voice_engine/voe_file_impl.cc b/webrtc/voice_engine/voe_file_impl.cc |
index 5415eeea4c0187edf381040102ee1c3929ea6d01..56c743bdcf92708b35cafb795eb4b026b670f04c 100644 |
--- a/webrtc/voice_engine/voe_file_impl.cc |
+++ b/webrtc/voice_engine/voe_file_impl.cc |
@@ -19,27 +19,17 @@ |
#include "webrtc/voice_engine/transmit_mixer.h" |
#include "webrtc/voice_engine/voice_engine_impl.h" |
-#ifndef WEBRTC_VOICE_ENGINE_FILE_API |
-#error "Deprecated" |
-#endif |
- |
namespace webrtc { |
VoEFile* VoEFile::GetInterface(VoiceEngine* voiceEngine) { |
-#ifndef WEBRTC_VOICE_ENGINE_FILE_API |
- return NULL; |
-#else |
if (NULL == voiceEngine) { |
return NULL; |
} |
VoiceEngineImpl* s = static_cast<VoiceEngineImpl*>(voiceEngine); |
s->AddRef(); |
return s; |
-#endif |
} |
-#ifdef WEBRTC_VOICE_ENGINE_FILE_API |
- |
VoEFileImpl::VoEFileImpl(voe::SharedData* shared) : _shared(shared) { |
WEBRTC_TRACE(kTraceMemory, kTraceVoice, VoEId(_shared->instance_id(), -1), |
"VoEFileImpl::VoEFileImpl() - ctor"); |
@@ -474,6 +464,4 @@ int VoEFileImpl::StopRecordingMicrophone() { |
return err; |
} |
-#endif // #ifdef WEBRTC_VOICE_ENGINE_FILE_API |
- |
} // namespace webrtc |