mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 09:48:44 +02:00
time events with packets
This commit is contained in:
parent
41a4ec4200
commit
09cc4bf48d
1 changed files with 7 additions and 7 deletions
|
@ -396,14 +396,14 @@ void AudioMixer::start() {
|
||||||
|
|
||||||
// since we're a while loop we need to yield to qt's event processing
|
// since we're a while loop we need to yield to qt's event processing
|
||||||
QCoreApplication::processEvents();
|
QCoreApplication::processEvents();
|
||||||
}
|
|
||||||
|
|
||||||
// process audio packets (node-isolated audio packets) across slave threads
|
// process (node-isolated) audio packets across slave threads
|
||||||
{
|
{
|
||||||
nodeList->nestedEach([&](NodeList::const_iterator cbegin, NodeList::const_iterator cend) {
|
nodeList->nestedEach([&](NodeList::const_iterator cbegin, NodeList::const_iterator cend) {
|
||||||
auto packetsTimer = _packetsTiming.timer();
|
auto packetsTimer = _packetsTiming.timer();
|
||||||
_slavePool.processPackets(cbegin, cend);
|
_slavePool.processPackets(cbegin, cend);
|
||||||
});
|
});
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (_isFinished) {
|
if (_isFinished) {
|
||||||
|
|
Loading…
Reference in a new issue