- allow opencore amr codecs on Windows platform

This commit is contained in:
Dmytro Bogovych 2020-02-01 13:31:08 +03:00
parent 3102efaf4f
commit 9e9b68697d
2 changed files with 4 additions and 4 deletions

View File

@ -1,5 +1,5 @@
// Avoid linking issues on Android systems
#if !defined(TARGET_ANDROID) && !defined(TARGET_OPENWRT) && !defined(TARGET_WIN) && !defined(TARGET_RPI)
// Avoid linking issues on embedded systems
#if !defined(TARGET_ANDROID) && !defined(TARGET_OPENWRT) && !defined(TARGET_RPI)
#include "MT_AmrCodec.h"
#include "../helper/HL_ByteBuffer.h"

View File

@ -7,7 +7,7 @@
#include "MT_CodecList.h"
#include "MT_AudioCodec.h"
#if !defined(TARGET_ANDROID) && !defined(TARGET_OPENWRT) && !defined(TARGET_WIN) && !defined(TARGET_RPI)
#if !defined(TARGET_ANDROID) && !defined(TARGET_OPENWRT) && !defined(TARGET_RPI)
# include "MT_AmrCodec.h"
#endif
@ -35,7 +35,7 @@ CodecList::CodecList(const Settings& settings)
}
#endif
#if !defined(TARGET_ANDROID) && !defined(TARGET_OPENWRT) && !defined(TARGET_WIN) && !defined(TARGET_RPI)
#if !defined(TARGET_ANDROID) && !defined(TARGET_OPENWRT) && !defined(TARGET_RPI)
for (int pt: mSettings.mAmrWbPayloadType)
mFactoryList.push_back(new AmrWbCodec::CodecFactory({mSettings.mWrapIuUP, false, pt}));
for (int pt: mSettings.mAmrWbOctetPayloadType)