mirror of
https://thingvellir.net/git/overte
synced 2025-03-27 23:52:03 +01: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
|
||||
QCoreApplication::processEvents();
|
||||
}
|
||||
|
||||
// process audio packets (node-isolated audio packets) across slave threads
|
||||
{
|
||||
nodeList->nestedEach([&](NodeList::const_iterator cbegin, NodeList::const_iterator cend) {
|
||||
auto packetsTimer = _packetsTiming.timer();
|
||||
_slavePool.processPackets(cbegin, cend);
|
||||
});
|
||||
// process (node-isolated) audio packets across slave threads
|
||||
{
|
||||
nodeList->nestedEach([&](NodeList::const_iterator cbegin, NodeList::const_iterator cend) {
|
||||
auto packetsTimer = _packetsTiming.timer();
|
||||
_slavePool.processPackets(cbegin, cend);
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
if (_isFinished) {
|
||||
|
|
Loading…
Reference in a new issue