changed the audio->setBufferSize from 6000 to 10000 as 6000/8000 gave too many pops, clicks and other dropouts of audio

merge-requests/1/head
roeland jansen 2021-02-05 10:41:32 +00:00
rodzic 88edba70be
commit c427d93008
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -507,7 +507,7 @@ udpAudio::udpAudio(QHostAddress local, QHostAddress ip, int aport)
buffer = new QBuffer();
buffer->open(QIODevice::ReadWrite);
audio = new QAudioOutput(format);
audio->setBufferSize(6000); // TODO: add preference, maybe UI too.
audio->setBufferSize(10000); // TODO: add preference, maybe UI too. 20210205: connection was wifi --> cellular --> internet --> rig
buffer->seek(0);
audio->start(buffer);