- disable AMR codec for OpenWRT for now
This commit is contained in:
parent
522608319e
commit
528a66d901
|
|
@ -1,5 +1,5 @@
|
|||
// Avoid linking issues on Android systems
|
||||
#if !defined(TARGET_ANDROID)
|
||||
#if !defined(TARGET_ANDROID) && !defined(TARGET_OPENWRT)
|
||||
|
||||
#include "MT_AmrCodec.h"
|
||||
#include "../helper/HL_ByteBuffer.h"
|
||||
|
|
@ -976,4 +976,4 @@ int GsmEfrCodec::plc(int lostFrames, void* output, int outputCapacity)
|
|||
return lostFrames * pcmLength();
|
||||
}
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@
|
|||
#include "../audio/Audio_Interface.h"
|
||||
#include "../audio/Audio_Resampler.h"
|
||||
|
||||
#if !defined(TARGET_ANDROID)
|
||||
#if !defined(TARGET_ANDROID) && !defined(TARGET_OPENWRT)
|
||||
# include "MT_AmrCodec.h"
|
||||
#endif
|
||||
|
||||
|
|
@ -692,7 +692,7 @@ float AudioReceiver::calculatePvqaMos(int rate, std::string& report)
|
|||
|
||||
void AudioReceiver::processStatisticsWithAmrCodec(Codec* c)
|
||||
{
|
||||
#if !defined(TARGET_ANDROID)
|
||||
#if !defined(TARGET_ANDROID) && !defined(TARGET_OPENWRT)
|
||||
AmrNbCodec* nb = dynamic_cast<AmrNbCodec*>(c);
|
||||
AmrWbCodec* wb = dynamic_cast<AmrWbCodec*>(c);
|
||||
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@
|
|||
#include "MT_CodecList.h"
|
||||
#include "MT_AudioCodec.h"
|
||||
|
||||
#if !defined(TARGET_ANDROID)
|
||||
#if !defined(TARGET_ANDROID) && !defined(TARGET_OPENWRT)
|
||||
# include "MT_AmrCodec.h"
|
||||
#endif
|
||||
|
||||
|
|
@ -33,7 +33,7 @@ CodecList::CodecList(const Settings& settings)
|
|||
}
|
||||
}
|
||||
|
||||
#if !defined(TARGET_ANDROID)
|
||||
#if !defined(TARGET_ANDROID) && !defined(TARGET_OPENWRT)
|
||||
for (int pt: mSettings.mAmrWbPayloadType)
|
||||
mFactoryList.push_back(new AmrWbCodec::CodecFactory({mSettings.mWrapIuUP, false, pt}));
|
||||
for (int pt: mSettings.mAmrWbOctetPayloadType)
|
||||
|
|
|
|||
Loading…
Reference in New Issue