- RPi related changes (to build pvqa_pcap for RPi)
This commit is contained in:
parent
999c4c4110
commit
e9799dae0b
|
|
@ -11,8 +11,6 @@
|
|||
#endif
|
||||
|
||||
#include "HL_Uuid.h"
|
||||
|
||||
|
||||
#include "HL_InternetAddress.h"
|
||||
|
||||
#include <vector>
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in New Issue