kopia lustrzana https://gitlab.com/eliggett/wfview
Add extra debugging
rodzic
d4868ae14c
commit
184af7a582
|
@ -559,11 +559,9 @@ qint64 audioHandler::writeData(const char* data, qint64 nBytes)
|
|||
tempBuf.sent = tempBuf.sent + send;
|
||||
}
|
||||
else {
|
||||
//ringBuf->write(tempBuf);
|
||||
|
||||
if (!ringBuf->try_write(tempBuf))
|
||||
{
|
||||
qDebug(logAudio()) << "outgoing audio buffer full!";
|
||||
qDebug(logAudio()) << (setup.isinput ? "Input" : "Output") << " audio buffer full!";
|
||||
break;
|
||||
}
|
||||
tempBuf.data.clear();
|
||||
|
|
|
@ -1550,7 +1550,7 @@ void udpServer::sendRetransmitRequest(CLIENT* c)
|
|||
// This will run every 100ms so out-of-sequence packets will not trigger a retransmit request.
|
||||
|
||||
QByteArray missingSeqs;
|
||||
|
||||
QTime missingTime = QTime::currentTime();
|
||||
|
||||
if (!c->rxSeqBuf.empty() && c->rxSeqBuf.size() <= c->rxSeqBuf.lastKey() - c->rxSeqBuf.firstKey())
|
||||
{
|
||||
|
@ -1691,6 +1691,9 @@ void udpServer::sendRetransmitRequest(CLIENT* c)
|
|||
qInfo(logUdpServer()) << "Unable to lock missMutex()";
|
||||
}
|
||||
|
||||
if (missingTime.msecsTo(QTime::currentTime()) > 10) {
|
||||
qInfo(logUdpServer()) << "Missing processing took" << missingTime.msecsTo(QTime::currentTime()) << "to run!!!!";
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue