kopia lustrzana https://gitlab.com/eliggett/wfview
Update audiohandler.cpp
rodzic
7130f71335
commit
60824c2055
|
@ -209,7 +209,7 @@ void audioHandler::start()
|
||||||
audioDevice = audioInput->start();
|
audioDevice = audioInput->start();
|
||||||
connect(audioInput, &QAudioInput::destroyed, audioDevice, &QIODevice::deleteLater, Qt::UniqueConnection);
|
connect(audioInput, &QAudioInput::destroyed, audioDevice, &QIODevice::deleteLater, Qt::UniqueConnection);
|
||||||
//connect(audioDevice, &QIODevice::readyRead, this, &audioHandler::getNextAudioChunk);
|
//connect(audioDevice, &QIODevice::readyRead, this, &audioHandler::getNextAudioChunk);
|
||||||
audioTimer->start(setup.blockSize);
|
audioTimer->start(setup.blockSize/2);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
/* OK I don't understand what is happening here?
|
/* OK I don't understand what is happening here?
|
||||||
|
|
Ładowanie…
Reference in New Issue