Put the timings in their proper field
This commit is contained in:
parent
2e6402bae0
commit
4c83ca3a78
1 changed files with 2 additions and 2 deletions
|
|
@ -529,7 +529,7 @@ void sfz::Synth::renderBlock(AudioSpan<float> buffer) noexcept
|
||||||
voice->renderBlock(temp);
|
voice->renderBlock(temp);
|
||||||
|
|
||||||
{ // Add the output into the effects linked to this region
|
{ // 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) {
|
for (size_t i = 0; i < numEffectBuses; ++i) {
|
||||||
if (EffectBus* bus = effectBuses[i].get()) {
|
if (EffectBus* bus = effectBuses[i].get()) {
|
||||||
float addGain = region->getGainToEffectBus(i);
|
float addGain = region->getGainToEffectBus(i);
|
||||||
|
|
@ -548,7 +548,7 @@ void sfz::Synth::renderBlock(AudioSpan<float> buffer) noexcept
|
||||||
{ // Apply effect buses
|
{ // Apply effect buses
|
||||||
// -- note(jpc) there is always a "main" bus which is initially empty.
|
// -- note(jpc) there is always a "main" bus which is initially empty.
|
||||||
// without any <effect>, the signal is just going to flow through it.
|
// without any <effect>, 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) {
|
for (size_t i = 0; i < numEffectBuses; ++i) {
|
||||||
if (EffectBus* bus = effectBuses[i].get()) {
|
if (EffectBus* bus = effectBuses[i].get()) {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue