From 09cc4bf48d7c82229b76c71ef3769a2479159b20 Mon Sep 17 00:00:00 2001 From: Zach Pomerantz Date: Tue, 14 Feb 2017 21:48:36 +0000 Subject: [PATCH] time events with packets --- assignment-client/src/audio/AudioMixer.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/assignment-client/src/audio/AudioMixer.cpp b/assignment-client/src/audio/AudioMixer.cpp index a787d6b99d..2583e15760 100644 --- a/assignment-client/src/audio/AudioMixer.cpp +++ b/assignment-client/src/audio/AudioMixer.cpp @@ -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) {