From 4d26f6ad95cd0494f8caf77ab8910dbf92799743 Mon Sep 17 00:00:00 2001 From: Noah Santschi-Cooney Date: Wed, 18 Nov 2020 19:50:40 +0000 Subject: [PATCH] Fixed non-UTF8 chars in PeakFinder.cpp --- Externals/soundtouch/PeakFinder.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Externals/soundtouch/PeakFinder.cpp b/Externals/soundtouch/PeakFinder.cpp index 111cc88bbd..b1e2205c3f 100644 --- a/Externals/soundtouch/PeakFinder.cpp +++ b/Externals/soundtouch/PeakFinder.cpp @@ -64,7 +64,7 @@ int PeakFinder::findTop(const float *data, int peakpos) const refvalue = data[peakpos]; - // seek within ±10 points + // seek within ±10 points start = peakpos - 10; if (start < minPos) start = minPos; end = peakpos + 10; @@ -265,7 +265,7 @@ double PeakFinder::detectPeak(const float *data, int aminPos, int amaxPos) // accept harmonic peak if // (a) it is found - // (b) is within ±4% of the expected harmonic interval + // (b) is within ±4% of the expected harmonic interval // (c) has at least half x-corr value of the max. peak double diff = harmonic * peaktmp / highPeak;