- RPi related changes (to build pvqa_pcap for RPi)

This commit is contained in:
Dmytro Bogovych 2019-04-18 12:09:24 +03:00
parent 999c4c4110
commit e9799dae0b
6 changed files with 9 additions and 10 deletions

View File

@ -11,8 +11,6 @@
#endif
#include "HL_Uuid.h"
#include "HL_InternetAddress.h"
#include <vector>

View File

@ -3,7 +3,8 @@
#include <string>
#if defined(TARGET_LINUX) || defined(TARGET_OSX)
#if (defined(TARGET_LINUX) || defined(TARGET_OSX)) && !defined(USE_NULL_UUID)
# include <uuid/uuid.h>
#endif
#if defined(TARGET_WIN)

View File

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

View File

@ -51,7 +51,7 @@ namespace MT
PCodec create() override;
};
G729Codec();
~G729Codec();
~G729Codec() override;
const char* name() override;
int pcmLength() override;
@ -399,7 +399,7 @@ namespace MT
};
GsmHrCodec();
virtual ~GsmHrCodec();
~GsmHrCodec() override;
const char* name() override;
int pcmLength() override;

View File

@ -13,7 +13,7 @@
#include "../audio/Audio_Interface.h"
#include "../audio/Audio_Resampler.h"
#if !defined(TARGET_ANDROID) && !defined(TARGET_OPENWRT) && !defined(TARGET_WIN)
#if !defined(TARGET_ANDROID) && !defined(TARGET_OPENWRT) && !defined(TARGET_WIN) && !defined(TARGET_RPI)
# include "MT_AmrCodec.h"
#endif
@ -705,7 +705,7 @@ float AudioReceiver::calculatePvqaMos(int rate, std::string& report)
void AudioReceiver::processStatisticsWithAmrCodec(Codec* c)
{
#if !defined(TARGET_ANDROID) && !defined(TARGET_OPENWRT) && !defined(TARGET_WIN)
#if !defined(TARGET_ANDROID) && !defined(TARGET_OPENWRT) && !defined(TARGET_WIN) && !defined(TARGET_RPI)
AmrNbCodec* nb = dynamic_cast<AmrNbCodec*>(c);
AmrWbCodec* wb = dynamic_cast<AmrWbCodec*>(c);

View File

@ -7,7 +7,7 @@
#include "MT_CodecList.h"
#include "MT_AudioCodec.h"
#if !defined(TARGET_ANDROID) && !defined(TARGET_OPENWRT) && !defined(TARGET_WIN)
#if !defined(TARGET_ANDROID) && !defined(TARGET_OPENWRT) && !defined(TARGET_WIN) && !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)
#if !defined(TARGET_ANDROID) && !defined(TARGET_OPENWRT) && !defined(TARGET_WIN) && !defined(TARGET_RPI)
for (int pt: mSettings.mAmrWbPayloadType)
mFactoryList.push_back(new AmrWbCodec::CodecFactory({mSettings.mWrapIuUP, false, pt}));
for (int pt: mSettings.mAmrWbOctetPayloadType)