Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mpc-hc/mpc-hc.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXhmikosR <xhmikosr@users.sourceforge.net>2012-04-10 20:08:12 +0400
committerXhmikosR <xhmikosr@users.sourceforge.net>2012-04-10 20:08:12 +0400
commit6f2f7270dd822670597917d62244d9117ead15cf (patch)
treee3ec6d5d82118d434e804bd380bd735338a3ec06 /src/thirdparty/SoundTouch/source/PeakFinder.h
parentaa7ed919e600b8c44b2fdbb0919dcea357d99837 (diff)
update SoundTouch to v1.7.0pre r142
git-svn-id: https://mpc-hc.svn.sourceforge.net/svnroot/mpc-hc/trunk@4331 10f7b99b-c216-0410-bff0-8a66a9350fd8
Diffstat (limited to 'src/thirdparty/SoundTouch/source/PeakFinder.h')
-rw-r--r--src/thirdparty/SoundTouch/source/PeakFinder.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/thirdparty/SoundTouch/source/PeakFinder.h b/src/thirdparty/SoundTouch/source/PeakFinder.h
index a72b24f28..fce4dc1be 100644
--- a/src/thirdparty/SoundTouch/source/PeakFinder.h
+++ b/src/thirdparty/SoundTouch/source/PeakFinder.h
@@ -63,6 +63,10 @@ protected:
int direction /// Direction where to proceed from the peak: 1 = right, -1 = left.
) const;
+ // Finds real 'top' of a peak hump from neighnourhood of the given 'peakpos'.
+ int findTop(const float *data, int peakpos) const;
+
+
/// Finds the 'ground' level, i.e. smallest level between two neighbouring peaks, to right-
/// or left-hand side of the given peak position.
int findGround(const float *data, /// Data vector.