kopia lustrzana https://gitlab.com/eliggett/wfview
Update audiohandler.cpp
rodzic
9d63c36e51
commit
718d54ee3b
|
@ -407,7 +407,7 @@ void audioHandler::getNextAudioChunk()
|
|||
livePacket.time= QTime::currentTime();
|
||||
livePacket.sent = 0;
|
||||
memcpy(&livePacket.guid, setup.guid, GUIDLEN);
|
||||
while (tempBuf.data.length() > 0) {
|
||||
while (tempBuf.data.length() > format.bytesForDuration(setup.blockSize * 1000)) {
|
||||
livePacket.data = tempBuf.data.mid(0, format.bytesForDuration(setup.blockSize * 1000));
|
||||
tempBuf.data.remove(0, format.bytesForDuration(setup.blockSize * 1000));
|
||||
if (livePacket.data.length() > 0)
|
||||
|
|
Ładowanie…
Reference in New Issue