From 4c83ca3a7895b8991419e6ee020262836a8e575c Mon Sep 17 00:00:00 2001 From: Paul Fd Date: Thu, 5 Mar 2020 23:35:15 +0100 Subject: [PATCH] Put the timings in their proper field --- src/sfizz/Synth.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/sfizz/Synth.cpp b/src/sfizz/Synth.cpp index a6a6482a..a10fe5f5 100644 --- a/src/sfizz/Synth.cpp +++ b/src/sfizz/Synth.cpp @@ -529,7 +529,7 @@ void sfz::Synth::renderBlock(AudioSpan buffer) noexcept voice->renderBlock(temp); { // Add the output into the effects linked to this region - ScopedTiming logger { callbackBreakdown.renderMethod, ScopedTiming::Operation::addToDuration }; + ScopedTiming logger { callbackBreakdown.effects, ScopedTiming::Operation::addToDuration }; for (size_t i = 0; i < numEffectBuses; ++i) { if (EffectBus* bus = effectBuses[i].get()) { float addGain = region->getGainToEffectBus(i); @@ -548,7 +548,7 @@ void sfz::Synth::renderBlock(AudioSpan buffer) noexcept { // Apply effect buses // -- note(jpc) there is always a "main" bus which is initially empty. // without any , the signal is just going to flow through it. - ScopedTiming logger { callbackBreakdown.renderMethod, ScopedTiming::Operation::addToDuration }; + ScopedTiming logger { callbackBreakdown.effects, ScopedTiming::Operation::addToDuration }; for (size_t i = 0; i < numEffectBuses; ++i) { if (EffectBus* bus = effectBuses[i].get()) {