mirror of
https://github.com/JulianGro/overte.git
synced 2025-05-03 16:29:31 +02:00
fix for sticking windows audio-mixer
This commit is contained in:
parent
f45c2a3e56
commit
81460e48f4
3 changed files with 17 additions and 12 deletions
|
@ -66,6 +66,9 @@ AssignmentClient::AssignmentClient(Assignment::Type requestAssignmentType, QStri
|
|||
// set the logging target to the the CHILD_TARGET_NAME
|
||||
LogHandler::getInstance().setTargetName(ASSIGNMENT_CLIENT_TARGET_NAME);
|
||||
|
||||
// make sure we output process IDs for a child AC otherwise it's insane to parse
|
||||
LogHandler::getInstance().setShouldOutputPID(true);
|
||||
|
||||
// setup our _requestAssignment member variable from the passed arguments
|
||||
_requestAssignment = Assignment(Assignment::RequestCommand, requestAssignmentType, assignmentPool);
|
||||
|
||||
|
|
|
@ -850,7 +850,9 @@ void AudioMixer::run() {
|
|||
|
||||
++_numStatFrames;
|
||||
|
||||
// since we're a while loop we need to help Qt's event processing
|
||||
QCoreApplication::processEvents();
|
||||
QCoreApplication::sendPostedEvents(this, 0);
|
||||
|
||||
if (_isFinished) {
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue