QAudioOutput underrun issue on Realtime Play from Microphone with QAudioInput
问题 Sometimes I am getting "underrun occured" from ALSA lib and that means the audioouput is not getting the values on time to play. Alsa then repeats the old buffer values on the speaker. How can I avoid underruns on QAudioOuput? I am using Qt5.9.1 and ARM Based CPU running on Debian 8. I tried to change the buffersize: audioOutput->setBufferSize(144000); qDebug()<<"buffersize "<<audioOutput->bufferSize()<<" period size" . <<audioOutput->periodSize(); I get: buffersize 144000 period size 0 and