18 #ifndef PLUGINS_CHANNELTX_UDPSINK_UDPSOURCEUDPHANDLER_H_ 19 #define PLUGINS_CHANNELTX_UDPSINK_UDPSOURCEUDPHANDLER_H_ 23 #include <QHostAddress> void applyUDPLink(const QString &address, quint16 port)
const QString & getAddress() const
static MsgUDPAddressAndPort * create(QString address, quint16 port)
int32_t getBufferGauge() const
void setAutoRWBalance(bool autoRWBalance)
void advanceReadPointer(int nbBytes)
int m_nbAllocatedUDPFrames
void readSample(qint16 &t)
audio mono
void configureUDPLink(const QString &address, quint16 port)
#define MESSAGE_CLASS_DECLARATION
MsgUDPAddressAndPort(QString address, quint16 port)
static const int m_minNbUDPFrames
char m_udpDump[m_udpBlockSize+8192]
QHostAddress m_remoteAddress
virtual ~UDPSourceUDPHandler()
MessageQueue m_inputMessageQueue
QUdpSocket * m_dataSocket
typedef char(udpBlk_t)[m_udpBlockSize]
QHostAddress m_dataAddress
void resizeBuffer(float sampleRate)
static const int m_udpBlockSize
MessageQueue * m_feedbackMessageQueue
bool handleMessage(const Message &message)
void setFeedbackMessageQueue(MessageQueue *messageQueue)