Wire through debug level changes; tidy

This commit is contained in:
Chris Cannam
2022-06-22 13:42:58 +01:00
parent 5137b19407
commit b318fb4e8b
8 changed files with 47 additions and 29 deletions

View File

@@ -441,7 +441,7 @@ R2Stretcher::processChunkForChannel(size_t c,
modifyChunk(c, phaseIncrement, phaseReset);
synthesiseChunk(c, shiftIncrement); // reads from cd.mag, cd.phase
if (m_debugLevel > 2) {
if (m_log.getDebugLevel() > 2) {
if (phaseReset) {
for (int i = 0; i < 10; ++i) {
cd.accumulator[i] = 1.2f - (i % 3) * 1.2f;