summaryrefslogtreecommitdiff
path: root/media/libsoundtouch/src/InterpolateShannon.h
diff options
context:
space:
mode:
Diffstat (limited to 'media/libsoundtouch/src/InterpolateShannon.h')
-rw-r--r--media/libsoundtouch/src/InterpolateShannon.h14
1 files changed, 8 insertions, 6 deletions
diff --git a/media/libsoundtouch/src/InterpolateShannon.h b/media/libsoundtouch/src/InterpolateShannon.h
index 701640f7db..72ab0b526d 100644
--- a/media/libsoundtouch/src/InterpolateShannon.h
+++ b/media/libsoundtouch/src/InterpolateShannon.h
@@ -13,10 +13,6 @@
///
////////////////////////////////////////////////////////////////////////////////
//
-// $Id: InterpolateShannon.h 179 2014-01-06 18:41:42Z oparviai $
-//
-////////////////////////////////////////////////////////////////////////////////
-//
// License :
//
// SoundTouch audio processing library
@@ -50,7 +46,6 @@ namespace soundtouch
class InterpolateShannon : public TransposerBase
{
protected:
- void resetRegisters();
int transposeMono(SAMPLETYPE *dest,
const SAMPLETYPE *src,
int &srcSamples);
@@ -61,10 +56,17 @@ protected:
const SAMPLETYPE *src,
int &srcSamples);
- float fract;
+ double fract;
public:
InterpolateShannon();
+
+ void resetRegisters();
+
+ int getLatency() const
+ {
+ return 3;
+ }
};
}