kopia lustrzana https://gitlab.com/eliggett/wfview
Another linux buffer fix
rodzic
71d271957d
commit
84db35f9f7
|
@ -893,7 +893,7 @@ void audioHandler::reinit()
|
|||
delete audioOutput;
|
||||
audioOutput = Q_NULLPTR;
|
||||
audioOutput = new QAudioOutput(deviceInfo, format, this);
|
||||
audioOutput->setBufferSize(chunkSize);
|
||||
audioOutput->setBufferSize(chunkSize*2);
|
||||
connect(audioOutput, SIGNAL(notify()), SLOT(notified()));
|
||||
connect(audioOutput, SIGNAL(stateChanged(QAudio::State)), SLOT(stateChanged(QAudio::State)));
|
||||
}
|
||||
|
|
Ładowanie…
Reference in New Issue