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