File tree Expand file tree Collapse file tree 2 files changed +0
-17
lines changed
Expand file tree Collapse file tree 2 files changed +0
-17
lines changed Original file line number Diff line number Diff line change @@ -32,22 +32,6 @@ void OscUdpSocket::initSocket()
3232 }
3333}
3434
35- // useless !
36- void OscUdpSocket::processDatagram (QNetworkDatagram data)
37- {
38- qDebug () << " Data: " << data.data ();
39-
40- QByteArray byteData (data.data ());
41-
42- OscReader reader (&byteData);
43- OscMessage* msg = reader.getMessage ();
44-
45- QString address = msg->getAddress (); // Get the message address
46- qDebug () << address << " #" << msg->getNumValues ();
47-
48- delete msg;
49- }
50-
5135void OscUdpSocket::sendData (QByteArray *data)
5236{
5337 QByteArray *dat = new QByteArray (data->data (), data->length ());
Original file line number Diff line number Diff line change @@ -27,7 +27,6 @@ class OscUdpSocket : public QObject
2727 explicit OscUdpSocket (QObject *parent = nullptr );
2828
2929 void initSocket ();
30- void processDatagram (QNetworkDatagram data);
3130
3231 void sendData (QByteArray* data);
3332
You can’t perform that action at this time.
0 commit comments