mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-11-16 05:11:49 -05:00
RTP audio: fix su that JRTPLIB define is only in AudioNetSink implementation (cpp)
This commit is contained in:
parent
cc461f2f0f
commit
9b68836203
@ -16,6 +16,10 @@
|
|||||||
///////////////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#include "audionetsink.h"
|
#include "audionetsink.h"
|
||||||
|
#include "util/udpsink.h"
|
||||||
|
#ifdef HAS_JRTPLIB
|
||||||
|
#include "util/rtpsink.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
const int AudioNetSink::m_udpBlockSize = 512;
|
const int AudioNetSink::m_udpBlockSize = 512;
|
||||||
|
|
||||||
|
@ -21,10 +21,9 @@
|
|||||||
#include <QObject>
|
#include <QObject>
|
||||||
#include "dsp/dsptypes.h"
|
#include "dsp/dsptypes.h"
|
||||||
#include "util/export.h"
|
#include "util/export.h"
|
||||||
#include "util/udpsink.h"
|
|
||||||
#ifdef HAS_JRTPLIB
|
template<typename T> class UDPSink;
|
||||||
#include "util/rtpsink.h"
|
template<typename T> class RTPSink;
|
||||||
#endif
|
|
||||||
|
|
||||||
class SDRANGEL_API AudioNetSink {
|
class SDRANGEL_API AudioNetSink {
|
||||||
public:
|
public:
|
||||||
@ -53,10 +52,8 @@ protected:
|
|||||||
SinkType m_type;
|
SinkType m_type;
|
||||||
UDPSink<qint16> *m_udpBufferAudioMono;
|
UDPSink<qint16> *m_udpBufferAudioMono;
|
||||||
UDPSink<AudioSample> *m_udpBufferAudioStereo;
|
UDPSink<AudioSample> *m_udpBufferAudioStereo;
|
||||||
#ifdef HAS_JRTPLIB
|
|
||||||
RTPSink<qint16> *m_rtpBufferAudioMono;
|
RTPSink<qint16> *m_rtpBufferAudioMono;
|
||||||
RTPSink<AudioSample> *m_rtpBufferAudioStereo;
|
RTPSink<AudioSample> *m_rtpBufferAudioStereo;
|
||||||
#endif
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user