From 3e74d1d18f35ab127c9702b7ccda5bfb093d9219 Mon Sep 17 00:00:00 2001 From: Olli Parviainen Date: Wed, 8 Jul 2020 19:11:48 +0300 Subject: [PATCH] =?UTF-8?q?Fixed=20characters=20in=20source=20code=20comme?= =?UTF-8?q?nts=20that=20ought=20to=20be=20=C2=B1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- source/SoundTouch/PeakFinder.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/SoundTouch/PeakFinder.cpp b/source/SoundTouch/PeakFinder.cpp index 34db39b..5423c85 100644 --- a/source/SoundTouch/PeakFinder.cpp +++ b/source/SoundTouch/PeakFinder.cpp @@ -57,7 +57,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; @@ -256,7 +256,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;